-
Notifications
You must be signed in to change notification settings - Fork 1
/
lib.test.ts
100 lines (98 loc) · 5.57 KB
/
lib.test.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import { expect, test } from 'vitest';
import * as lib from './lib';
test('module exports', () => {
expect({ ...lib }).toEqual({
AG_GRID_JS_PACKAGE_NAME_PATTERN: lib.AG_GRID_JS_PACKAGE_NAME_PATTERN,
AG_GRID_JS_PACKAGE_NAME_MATCHER: lib.AG_GRID_JS_PACKAGE_NAME_MATCHER,
AG_GRID_JS_UMD_GLOBAL_NAME: lib.AG_GRID_JS_UMD_GLOBAL_NAME,
Angular: lib.Angular,
AngularComponentTemplateDefinition: lib.AngularComponentTemplateDefinition,
AngularGridApiBinding: lib.AngularGridApiBinding,
AngularTemplateEngine: lib.AngularTemplateEngine,
AngularTemplateFormatter: lib.AngularTemplateFormatter,
addModuleImports: lib.addModuleImports,
applyBabelTransform: lib.applyBabelTransform,
applyPrettierFormat: lib.applyPrettierFormat,
BindingType: lib.BindingType,
GridApiDefinition: lib.GridApiDefinition,
SecurityContext: lib.SecurityContext,
TSESTree: lib.TSESTree,
VueTemplateEngine: lib.VueTemplateEngine,
VueTemplateFormatter: lib.VueTemplateFormatter,
createAngularBooleanLiteral: lib.createAngularBooleanLiteral,
createBabelPlugin: lib.createBabelPlugin,
createVueAstNode: lib.createVueAstNode,
createVueBooleanLiteral: lib.createVueBooleanLiteral,
createVueExpressionContainer: lib.createVueExpressionContainer,
explainAccessorPathUsages: lib.explainAccessorPathUsages,
findNamedAngularTemplateElements: lib.findNamedAngularTemplateElements,
findTemplateNodes: lib.findTemplateNodes,
getAngularColumnApiReferences: lib.getAngularColumnApiReferences,
getAngularComponentDataFieldReferences: lib.getAngularComponentDataFieldReferences,
getAngularComponentDecoratorOptions: lib.getAngularComponentDecoratorOptions,
getAngularComponentExternalTemplatePath: lib.getAngularComponentExternalTemplatePath,
getAngularComponentMetadata: lib.getAngularComponentMetadata,
getAngularComponentPropertyReadExpression: lib.getAngularComponentPropertyReadExpression,
getAngularExpressionRoot: lib.getAngularExpressionRoot,
getAngularGridApiReferences: lib.getAngularGridApiReferences,
getAngularTemplateNodeChild: lib.getAngularTemplateNodeChild,
getAngularTemplateRootElements: lib.getAngularTemplateRootElements,
getAngularViewChildMetadata: lib.getAngularViewChildMetadata,
getColumnApiReferences: lib.getColumnApiReferences,
getFrameworkEventNames: lib.getFrameworkEventNames,
getGridApiReferences: lib.getGridApiReferences,
getJsGridApiReferences: lib.getJsGridApiReferences,
getReactColumnApiReferences: lib.getReactColumnApiReferences,
getReactGridApiReferences: lib.getReactGridApiReferences,
getTemplateNodeChild: lib.getTemplateNodeChild,
getVueColumnApiReferences: lib.getVueColumnApiReferences,
getVueComponentComponentDeclarations: lib.getVueComponentComponentDeclarations,
getVueComponentDataFieldReferences: lib.getVueComponentDataFieldReferences,
getVueComponentTemplateProperty: lib.getVueComponentTemplateProperty,
getVueComponentTemplateSource: lib.getVueComponentTemplateSource,
getVueElementDirectives: lib.getVueElementDirectives,
getVueElementEventHandlerDirectiveName: lib.getVueElementEventHandlerDirectiveName,
getVueElementEventHandlerDirectives: lib.getVueElementEventHandlerDirectives,
getVueExpressionContainerExpression: lib.getVueExpressionContainerExpression,
getVueGridApiReferences: lib.getVueGridApiReferences,
getVueTemplateNodeChild: lib.getVueTemplateNodeChild,
invertAngularBooleanExpression: lib.invertAngularBooleanExpression,
invertVueBooleanExpression: lib.invertVueBooleanExpression,
isAngularAstRootNode: lib.isAngularAstRootNode,
isColumnApiReference: lib.isColumnApiReference,
isGridApiReference: lib.isGridApiReference,
isNamedAngularComponentMethodCallExpression: lib.isNamedAngularComponentMethodCallExpression,
isPropertyAccessorNode: lib.isPropertyAccessorNode,
isPropertyAssignmentNode: lib.isPropertyAssignmentNode,
isPropertyInitializerNode: lib.isPropertyInitializerNode,
isTypedAngularAstNode: lib.isTypedAngularAstNode,
isTypedAngularExpressionNode: lib.isTypedAngularExpressionNode,
isTypedAngularTemplateNode: lib.isTypedAngularTemplateNode,
isTypedVueTemplateNode: lib.isTypedVueTemplateNode,
isVueAttributeAttribute: lib.isVueAttributeAttribute,
isVueDirectiveAttribute: lib.isVueDirectiveAttribute,
isVueESLintBigIntLiteral: lib.isVueESLintBigIntLiteral,
isVueESLintBooleanLiteral: lib.isVueESLintBooleanLiteral,
isVueESLintNullLiteral: lib.isVueESLintNullLiteral,
isVueESLintNumberLiteral: lib.isVueESLintNumberLiteral,
isVueESLintRegExpLiteral: lib.isVueESLintRegExpLiteral,
isVueESLintStringLiteral: lib.isVueESLintStringLiteral,
loadBabelTransformExampleScenarios: lib.loadBabelTransformExampleScenarios,
loadPrettierConfig: lib.loadPrettierConfig,
matchVueComponentMethod: lib.matchVueComponentMethod,
matchers: lib.matchers,
mergeSourceChunks: lib.mergeSourceChunks,
parseBabelAst: lib.parseBabelAst,
parseAngularComponentTemplate: lib.parseAngularComponentTemplate,
parseVueComponentTemplateSource: lib.parseVueComponentTemplateSource,
parseVueSfcComponent: lib.parseVueSfcComponent,
printTemplate: lib.printTemplate,
printPrettierAstNode: lib.printPrettierAstNode,
removeTemplateNode: lib.removeTemplateNode,
replaceTemplateNode: lib.replaceTemplateNode,
transformFileAst: lib.transformFileAst,
updateAngularComponentTemplate: lib.updateAngularComponentTemplate,
visitGridOptionsProperties: lib.visitGridOptionsProperties,
visitObjectExpression: lib.visitObjectExpression,
});
});