@nlabs/lex 1.56.2 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/LexConfig.js +3 -2
- package/lib/commands/build/build.js +3 -3
- package/lib/commands/compile/compile.js +5 -5
- package/lib/commands/package-lambda/package-lambda.d.ts +20 -0
- package/lib/commands/package-lambda/package-lambda.js +110 -0
- package/lib/commands/serverless/serverless.js +149 -40
- package/lib/commands/test/test.d.ts +4 -0
- package/lib/commands/test/test.js +305 -237
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/lex.js +7 -2
- package/package.json +7 -3
- package/playwright.config.ts +24 -0
- package/tsconfig.build.json +1 -0
- package/tsconfig.lint.json +1 -0
- package/tsconfig.test.json +2 -0
- package/vitest.config.mjs +2 -2
|
@@ -19,6 +19,8 @@ export interface TestOptions {
|
|
|
19
19
|
readonly env?: string;
|
|
20
20
|
readonly errorOnDeprecated?: boolean;
|
|
21
21
|
readonly expand?: boolean;
|
|
22
|
+
readonly e2e?: boolean;
|
|
23
|
+
readonly e2eConfig?: string;
|
|
22
24
|
readonly forceExit?: boolean;
|
|
23
25
|
readonly generate?: boolean;
|
|
24
26
|
readonly json?: boolean;
|
|
@@ -40,6 +42,7 @@ export interface TestOptions {
|
|
|
40
42
|
readonly testLocationInResults?: boolean;
|
|
41
43
|
readonly testNamePattern?: string;
|
|
42
44
|
readonly testPathPattern?: string;
|
|
45
|
+
readonly unit?: boolean;
|
|
43
46
|
readonly update?: boolean;
|
|
44
47
|
readonly useStderr?: boolean;
|
|
45
48
|
readonly verbose?: boolean;
|
|
@@ -48,5 +51,6 @@ export interface TestOptions {
|
|
|
48
51
|
}
|
|
49
52
|
export type TestCallback = typeof process.exit;
|
|
50
53
|
export declare const getTestFilePatterns: (testPathPattern?: string) => string[];
|
|
54
|
+
export declare const getE2ETestFilePatterns: () => string[];
|
|
51
55
|
export declare const test: (options: TestOptions, args?: string[], filesOrCallback?: string[] | TestCallback, callbackParam?: TestCallback) => Promise<number>;
|
|
52
56
|
export default test;
|