@powerlines/plugin-jest 0.1.131 → 0.1.133

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.
Files changed (40) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/index.cjs +2 -30
  3. package/dist/index.d.cts +2 -2
  4. package/dist/index.d.mts +3 -2
  5. package/dist/index.mjs +0 -2
  6. package/dist/powerlines/src/types/babel.d.mts +2 -0
  7. package/dist/powerlines/src/types/build.d.cts +145 -0
  8. package/dist/powerlines/src/types/build.d.mts +145 -0
  9. package/dist/powerlines/src/types/commands.d.cts +8 -0
  10. package/dist/powerlines/src/types/commands.d.mts +9 -0
  11. package/dist/powerlines/src/types/config.d.cts +376 -0
  12. package/dist/powerlines/src/types/config.d.mts +376 -0
  13. package/dist/powerlines/src/types/context.d.cts +403 -0
  14. package/dist/powerlines/src/types/context.d.mts +405 -0
  15. package/dist/powerlines/src/types/fs.d.cts +486 -0
  16. package/dist/powerlines/src/types/fs.d.mts +486 -0
  17. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  18. package/dist/powerlines/src/types/plugin.d.cts +231 -0
  19. package/dist/powerlines/src/types/plugin.d.mts +231 -0
  20. package/dist/powerlines/src/types/resolved.d.cts +81 -0
  21. package/dist/powerlines/src/types/resolved.d.mts +81 -0
  22. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  23. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  24. package/dist/types/index.cjs +0 -2
  25. package/dist/types/index.d.cts +1 -2
  26. package/dist/types/index.d.mts +1 -2
  27. package/dist/types/index.mjs +0 -3
  28. package/dist/types/plugin.cjs +0 -1
  29. package/dist/types/plugin.d.cts +218 -1
  30. package/dist/types/plugin.d.mts +218 -1
  31. package/dist/types/plugin.mjs +0 -2
  32. package/package.json +4 -4
  33. package/dist/index-BgAdqTbb.d.mts +0 -1
  34. package/dist/index-CEgs-Dz2.d.cts +0 -1
  35. package/dist/plugin-C3MaN5jp.mjs +0 -1
  36. package/dist/plugin-CvpdyJpL.d.mts +0 -1970
  37. package/dist/plugin-D6-1lgZd.d.cts +0 -1970
  38. package/dist/plugin-DHXHjv16.cjs +0 -0
  39. package/dist/types-CTUnla4x.mjs +0 -1
  40. package/dist/types-DHkg7xmX.cjs +0 -0
@@ -0,0 +1,69 @@
1
+ import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
+ import ts from "typescript";
3
+
4
+ //#region ../powerlines/src/types/tsconfig.d.ts
5
+ type ReflectionMode = "default" | "explicit" | "never";
6
+ type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
+ /**
8
+ * Defines the level of reflection to be used during the transpilation process.
9
+ *
10
+ * @remarks
11
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
+ * - `minimal` - Only the essential type information is captured.
13
+ * - `normal` - Additional type information is captured, including some contextual data.
14
+ * - `verbose` - All available type information is captured, including detailed contextual data.
15
+ */
16
+ type ReflectionLevel = "minimal" | "normal" | "verbose";
17
+ interface DeepkitOptions {
18
+ /**
19
+ * Either true to activate reflection for all files compiled using this tsconfig,
20
+ * or a list of globs/file paths relative to this tsconfig.json.
21
+ * Globs/file paths can be prefixed with a ! to exclude them.
22
+ */
23
+ reflection?: RawReflectionMode;
24
+ /**
25
+ * Defines the level of reflection to be used during the transpilation process.
26
+ *
27
+ * @remarks
28
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
+ * - `minimal` - Only the essential type information is captured.
30
+ * - `normal` - Additional type information is captured, including some contextual data.
31
+ * - `verbose` - All available type information is captured, including detailed contextual data.
32
+ */
33
+ reflectionLevel?: ReflectionLevel;
34
+ }
35
+ type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
+ /**
37
+ * The TypeScript compiler configuration.
38
+ *
39
+ * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
+ */
41
+ interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
+ /**
43
+ * Either true to activate reflection for all files compiled using this tsconfig,
44
+ * or a list of globs/file paths relative to this tsconfig.json.
45
+ * Globs/file paths can be prefixed with a ! to exclude them.
46
+ */
47
+ reflection?: RawReflectionMode;
48
+ /**
49
+ * Defines the level of reflection to be used during the transpilation process.
50
+ *
51
+ * @remarks
52
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
+ * - `minimal` - Only the essential type information is captured.
54
+ * - `normal` - Additional type information is captured, including some contextual data.
55
+ * - `verbose` - All available type information is captured, including detailed contextual data.
56
+ */
57
+ reflectionLevel?: ReflectionLevel;
58
+ /**
59
+ * Instructs the TypeScript compiler how to compile `.ts` files.
60
+ */
61
+ compilerOptions?: TSCompilerOptions;
62
+ }
63
+ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
+ originalTsconfigJson: TsConfigJson;
65
+ tsconfigJson: TSConfig;
66
+ tsconfigFilePath: string;
67
+ };
68
+ //#endregion
69
+ export { ParsedTypeScriptConfig, TSConfig };
@@ -0,0 +1,69 @@
1
+ import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
+ import ts from "typescript";
3
+
4
+ //#region ../powerlines/src/types/tsconfig.d.ts
5
+ type ReflectionMode = "default" | "explicit" | "never";
6
+ type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
+ /**
8
+ * Defines the level of reflection to be used during the transpilation process.
9
+ *
10
+ * @remarks
11
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
+ * - `minimal` - Only the essential type information is captured.
13
+ * - `normal` - Additional type information is captured, including some contextual data.
14
+ * - `verbose` - All available type information is captured, including detailed contextual data.
15
+ */
16
+ type ReflectionLevel = "minimal" | "normal" | "verbose";
17
+ interface DeepkitOptions {
18
+ /**
19
+ * Either true to activate reflection for all files compiled using this tsconfig,
20
+ * or a list of globs/file paths relative to this tsconfig.json.
21
+ * Globs/file paths can be prefixed with a ! to exclude them.
22
+ */
23
+ reflection?: RawReflectionMode;
24
+ /**
25
+ * Defines the level of reflection to be used during the transpilation process.
26
+ *
27
+ * @remarks
28
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
+ * - `minimal` - Only the essential type information is captured.
30
+ * - `normal` - Additional type information is captured, including some contextual data.
31
+ * - `verbose` - All available type information is captured, including detailed contextual data.
32
+ */
33
+ reflectionLevel?: ReflectionLevel;
34
+ }
35
+ type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
+ /**
37
+ * The TypeScript compiler configuration.
38
+ *
39
+ * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
+ */
41
+ interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
+ /**
43
+ * Either true to activate reflection for all files compiled using this tsconfig,
44
+ * or a list of globs/file paths relative to this tsconfig.json.
45
+ * Globs/file paths can be prefixed with a ! to exclude them.
46
+ */
47
+ reflection?: RawReflectionMode;
48
+ /**
49
+ * Defines the level of reflection to be used during the transpilation process.
50
+ *
51
+ * @remarks
52
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
+ * - `minimal` - Only the essential type information is captured.
54
+ * - `normal` - Additional type information is captured, including some contextual data.
55
+ * - `verbose` - All available type information is captured, including detailed contextual data.
56
+ */
57
+ reflectionLevel?: ReflectionLevel;
58
+ /**
59
+ * Instructs the TypeScript compiler how to compile `.ts` files.
60
+ */
61
+ compilerOptions?: TSCompilerOptions;
62
+ }
63
+ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
+ originalTsconfigJson: TsConfigJson;
65
+ tsconfigJson: TSConfig;
66
+ tsconfigFilePath: string;
67
+ };
68
+ //#endregion
69
+ export { ParsedTypeScriptConfig, TSConfig };
@@ -1,2 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
2
- require('../types-DHkg7xmX.cjs');
@@ -1,3 +1,2 @@
1
- import { a as __ΩJestPluginContext, c as __ΩJestPluginUserConfig, i as JestPluginUserConfig, n as JestPluginOptions, o as __ΩJestPluginOptions, r as JestPluginResolvedConfig, s as __ΩJestPluginResolvedConfig, t as JestPluginContext } from "../plugin-D6-1lgZd.cjs";
2
- import "../index-CEgs-Dz2.cjs";
1
+ import { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, __ΩJestPluginContext, __ΩJestPluginOptions, __ΩJestPluginResolvedConfig, __ΩJestPluginUserConfig } from "./plugin.cjs";
3
2
  export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, __ΩJestPluginContext, __ΩJestPluginOptions, __ΩJestPluginResolvedConfig, __ΩJestPluginUserConfig };
@@ -1,3 +1,2 @@
1
- import { a as __ΩJestPluginContext, c as __ΩJestPluginUserConfig, i as JestPluginUserConfig, n as JestPluginOptions, o as __ΩJestPluginOptions, r as JestPluginResolvedConfig, s as __ΩJestPluginResolvedConfig, t as JestPluginContext } from "../plugin-CvpdyJpL.mjs";
2
- import "../index-BgAdqTbb.mjs";
1
+ import { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, __ΩJestPluginContext, __ΩJestPluginOptions, __ΩJestPluginResolvedConfig, __ΩJestPluginUserConfig } from "./plugin.mjs";
3
2
  export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, __ΩJestPluginContext, __ΩJestPluginOptions, __ΩJestPluginResolvedConfig, __ΩJestPluginUserConfig };
@@ -1,4 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
- import "../types-CTUnla4x.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
@@ -1,2 +1,219 @@
1
- import { a as __ΩJestPluginContext, c as __ΩJestPluginUserConfig, i as JestPluginUserConfig, n as JestPluginOptions, o as __ΩJestPluginOptions, r as JestPluginResolvedConfig, s as __ΩJestPluginResolvedConfig, t as JestPluginContext } from "../plugin-D6-1lgZd.cjs";
1
+ import { UserConfig } from "../powerlines/src/types/config.cjs";
2
+ import { ResolvedConfig } from "../powerlines/src/types/resolved.cjs";
3
+ import { PluginContext } from "../powerlines/src/types/context.cjs";
4
+ import { Config } from "@jest/types";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ interface JestPluginOptions {
8
+ /**
9
+ * Indicates that test coverage information should be collected and reported in the output.
10
+ *
11
+ * @see https://jestjs.io/docs/cli#--coverage
12
+ */
13
+ codeCoverage?: boolean;
14
+ /**
15
+ * The path to a Jest config file specifying how to find and execute tests. If no `rootDir` is set in the config, the directory containing the config file is assumed to be the `rootDir` for the project.
16
+ *
17
+ * @see https://jestjs.io/docs/cli#--configpath
18
+ */
19
+ configFile?: string;
20
+ /**
21
+ * Attempt to collect and print open handles preventing Jest from exiting cleanly after all tests have completed.
22
+ *
23
+ * @see https://jestjs.io/docs/cli#--detectopenhandles
24
+ */
25
+ detectOpenHandles?: boolean;
26
+ /**
27
+ * Logs the heap usage after every test. Useful to debug memory leaks. Use together with --runInBand and --expose-gc in node.
28
+ */
29
+ logHeapUsage?: boolean;
30
+ /**
31
+ * **EXPERIMENTAL**: Detect memory leaks in tests. After executing a test, it will try to garbage collect the global object used, and fail if it was leaked
32
+ */
33
+ detectLeaks?: boolean;
34
+ /**
35
+ * The name of the file to test.
36
+ */
37
+ testFile?: string;
38
+ /**
39
+ * Exit the test suite immediately after `n` number of failing tests.
40
+ *
41
+ * @see https://jestjs.io/docs/cli#--bail
42
+ */
43
+ bail?: boolean | number;
44
+ /**
45
+ * Continuous Integration mode. If true, Jest will run tests once and exit.
46
+ */
47
+ ci?: boolean;
48
+ /**
49
+ * Enables colored output.
50
+ */
51
+ color?: boolean;
52
+ /**
53
+ * Deletes the Jest cache directory and then exits without running tests. Will delete Jest's default cache directory.
54
+ */
55
+ clearCache?: boolean;
56
+ /**
57
+ * Find and run the tests that cover a list of source files.
58
+ *
59
+ * @see https://jestjs.io/docs/cli#--findrelatedtests
60
+ */
61
+ findRelatedTests?: string[];
62
+ /**
63
+ * Force Jest to exit after all tests have completed running. This is useful when resources set up by test code cannot be adequately cleaned up.
64
+ */
65
+ forceExit?: boolean;
66
+ /**
67
+ * Enables JSON output.
68
+ */
69
+ json?: boolean;
70
+ /**
71
+ * Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default)
72
+ *
73
+ * @see https://jestjs.io/docs/cli#--maxworkersnumberstring
74
+ */
75
+ maxWorkers?: number | string;
76
+ /**
77
+ * Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a `git` or `hg` repository at the moment.
78
+ *
79
+ * @see https://jestjs.io/docs/cli#--onlychanged
80
+ */
81
+ onlyChanged?: boolean;
82
+ /**
83
+ * Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested.
84
+ *
85
+ * @see https://jestjs.io/docs/cli#--changedsince
86
+ */
87
+ changedSince?: string;
88
+ /**
89
+ * The path to a JSON file that Jest should write test results to.
90
+ */
91
+ outputFile?: string;
92
+ /**
93
+ * Exit with code 0 even if no tests are found.
94
+ *
95
+ * @see https://jestjs.io/docs/cli#--passwithnotests
96
+ *
97
+ * @defaultValue true
98
+ */
99
+ passWithNoTests?: boolean;
100
+ /**
101
+ * Randomize the order of test execution
102
+ */
103
+ randomize?: boolean;
104
+ /**
105
+ * Run all tests serially in the current process (rather than creating a worker pool of child processes that run tests). This is sometimes useful for debugging, but such use cases are pretty rare. Useful for CI.
106
+ *
107
+ * @see https://jestjs.io/docs/cli#--runinband
108
+ */
109
+ runInBand?: boolean;
110
+ /**
111
+ * Print your Jest config and then exits.
112
+ *
113
+ * @see https://jestjs.io/docs/cli#--showconfig
114
+ */
115
+ showConfig?: boolean;
116
+ /**
117
+ * Prevent tests from printing messages through the console.
118
+ *
119
+ * @see https://jestjs.io/docs/cli#--silent
120
+ */
121
+ silent?: boolean;
122
+ /**
123
+ * Run only tests with a name that matches the regex pattern.
124
+ *
125
+ * @see https://jestjs.io/docs/cli#--testnamepatternregex
126
+ */
127
+ testNamePattern?: string;
128
+ /**
129
+ * An array of regexp pattern strings that is matched against all tests paths before executing the test. Only run those tests with a path that does not match with the provided regexp expressions.
130
+ *
131
+ * @see https://jestjs.io/docs/cli#--testpathignorepatternsregex
132
+ */
133
+ testPathIgnorePatterns?: string[];
134
+ /**
135
+ * An array of regexp pattern strings that is matched against all tests paths before executing the test. Only run tests with a path that matches the provided regexp expressions.
136
+ *
137
+ * @see https://jestjs.io/docs/cli#--testpathpatternsregex
138
+ */
139
+ testPathPatterns?: string[];
140
+ /**
141
+ * Enables colored output.
142
+ */
143
+ colors?: boolean;
144
+ /**
145
+ * A list of reporters to use for test results
146
+ */
147
+ reporters?: string[];
148
+ /**
149
+ * Display individual test results with the test suite hierarchy.
150
+ *
151
+ * @see https://jestjs.io/docs/cli#--verbose
152
+ */
153
+ verbose?: boolean;
154
+ /**
155
+ * A list of coverage reporters to use
156
+ */
157
+ coverageReporters?: string[];
158
+ /**
159
+ * The directory where Jest should output its coverage files.
160
+ */
161
+ coverageDirectory?: string;
162
+ /**
163
+ * A Node module that implements a custom results processor.
164
+ */
165
+ testResultsProcessor?: string;
166
+ /**
167
+ * Update snapshots during this test run.
168
+ */
169
+ updateSnapshot?: boolean;
170
+ /**
171
+ * Divert all output to stderr.
172
+ */
173
+ useStderr?: boolean;
174
+ /**
175
+ * Watch files for changes and rerun tests related to changed files.
176
+ */
177
+ watch?: boolean;
178
+ /**
179
+ * Watch files for changes and rerun all tests when something changes.
180
+ */
181
+ watchAll?: boolean;
182
+ /**
183
+ * Adds a location field to test results. Used to report location of a test in a reporter. Example: `{ "column": 4, "line": 5 }`.
184
+ *
185
+ * @see https://jestjs.io/docs/cli#--testlocationinresultsboolean
186
+ */
187
+ testLocationInResults?: boolean;
188
+ /**
189
+ * Default timeout of a test in milliseconds.
190
+ *
191
+ * @see https://jestjs.io/docs/cli#--testtimeoutmilliseconds
192
+ *
193
+ * @defaultValue 5000
194
+ */
195
+ testTimeout?: number;
196
+ }
197
+ interface JestPluginUserConfig extends UserConfig {
198
+ test: {
199
+ /**
200
+ * Jest transformation options
201
+ */
202
+ jest: Config.Argv;
203
+ };
204
+ }
205
+ interface JestPluginResolvedConfig extends ResolvedConfig {
206
+ test: {
207
+ /**
208
+ * Resolved Jest transformation options
209
+ */
210
+ jest: Config.Argv;
211
+ };
212
+ }
213
+ type JestPluginContext<TResolvedConfig extends JestPluginResolvedConfig = JestPluginResolvedConfig> = PluginContext<TResolvedConfig>;
214
+ declare type __ΩJestPluginOptions = any[];
215
+ declare type __ΩJestPluginUserConfig = any[];
216
+ declare type __ΩJestPluginResolvedConfig = any[];
217
+ declare type __ΩJestPluginContext = any[];
218
+ //#endregion
2
219
  export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, __ΩJestPluginContext, __ΩJestPluginOptions, __ΩJestPluginResolvedConfig, __ΩJestPluginUserConfig };
@@ -1,2 +1,219 @@
1
- import { a as __ΩJestPluginContext, c as __ΩJestPluginUserConfig, i as JestPluginUserConfig, n as JestPluginOptions, o as __ΩJestPluginOptions, r as JestPluginResolvedConfig, s as __ΩJestPluginResolvedConfig, t as JestPluginContext } from "../plugin-CvpdyJpL.mjs";
1
+ import { UserConfig } from "../powerlines/src/types/config.mjs";
2
+ import { ResolvedConfig } from "../powerlines/src/types/resolved.mjs";
3
+ import { PluginContext } from "../powerlines/src/types/context.mjs";
4
+ import { Config } from "@jest/types";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ interface JestPluginOptions {
8
+ /**
9
+ * Indicates that test coverage information should be collected and reported in the output.
10
+ *
11
+ * @see https://jestjs.io/docs/cli#--coverage
12
+ */
13
+ codeCoverage?: boolean;
14
+ /**
15
+ * The path to a Jest config file specifying how to find and execute tests. If no `rootDir` is set in the config, the directory containing the config file is assumed to be the `rootDir` for the project.
16
+ *
17
+ * @see https://jestjs.io/docs/cli#--configpath
18
+ */
19
+ configFile?: string;
20
+ /**
21
+ * Attempt to collect and print open handles preventing Jest from exiting cleanly after all tests have completed.
22
+ *
23
+ * @see https://jestjs.io/docs/cli#--detectopenhandles
24
+ */
25
+ detectOpenHandles?: boolean;
26
+ /**
27
+ * Logs the heap usage after every test. Useful to debug memory leaks. Use together with --runInBand and --expose-gc in node.
28
+ */
29
+ logHeapUsage?: boolean;
30
+ /**
31
+ * **EXPERIMENTAL**: Detect memory leaks in tests. After executing a test, it will try to garbage collect the global object used, and fail if it was leaked
32
+ */
33
+ detectLeaks?: boolean;
34
+ /**
35
+ * The name of the file to test.
36
+ */
37
+ testFile?: string;
38
+ /**
39
+ * Exit the test suite immediately after `n` number of failing tests.
40
+ *
41
+ * @see https://jestjs.io/docs/cli#--bail
42
+ */
43
+ bail?: boolean | number;
44
+ /**
45
+ * Continuous Integration mode. If true, Jest will run tests once and exit.
46
+ */
47
+ ci?: boolean;
48
+ /**
49
+ * Enables colored output.
50
+ */
51
+ color?: boolean;
52
+ /**
53
+ * Deletes the Jest cache directory and then exits without running tests. Will delete Jest's default cache directory.
54
+ */
55
+ clearCache?: boolean;
56
+ /**
57
+ * Find and run the tests that cover a list of source files.
58
+ *
59
+ * @see https://jestjs.io/docs/cli#--findrelatedtests
60
+ */
61
+ findRelatedTests?: string[];
62
+ /**
63
+ * Force Jest to exit after all tests have completed running. This is useful when resources set up by test code cannot be adequately cleaned up.
64
+ */
65
+ forceExit?: boolean;
66
+ /**
67
+ * Enables JSON output.
68
+ */
69
+ json?: boolean;
70
+ /**
71
+ * Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default)
72
+ *
73
+ * @see https://jestjs.io/docs/cli#--maxworkersnumberstring
74
+ */
75
+ maxWorkers?: number | string;
76
+ /**
77
+ * Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a `git` or `hg` repository at the moment.
78
+ *
79
+ * @see https://jestjs.io/docs/cli#--onlychanged
80
+ */
81
+ onlyChanged?: boolean;
82
+ /**
83
+ * Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested.
84
+ *
85
+ * @see https://jestjs.io/docs/cli#--changedsince
86
+ */
87
+ changedSince?: string;
88
+ /**
89
+ * The path to a JSON file that Jest should write test results to.
90
+ */
91
+ outputFile?: string;
92
+ /**
93
+ * Exit with code 0 even if no tests are found.
94
+ *
95
+ * @see https://jestjs.io/docs/cli#--passwithnotests
96
+ *
97
+ * @defaultValue true
98
+ */
99
+ passWithNoTests?: boolean;
100
+ /**
101
+ * Randomize the order of test execution
102
+ */
103
+ randomize?: boolean;
104
+ /**
105
+ * Run all tests serially in the current process (rather than creating a worker pool of child processes that run tests). This is sometimes useful for debugging, but such use cases are pretty rare. Useful for CI.
106
+ *
107
+ * @see https://jestjs.io/docs/cli#--runinband
108
+ */
109
+ runInBand?: boolean;
110
+ /**
111
+ * Print your Jest config and then exits.
112
+ *
113
+ * @see https://jestjs.io/docs/cli#--showconfig
114
+ */
115
+ showConfig?: boolean;
116
+ /**
117
+ * Prevent tests from printing messages through the console.
118
+ *
119
+ * @see https://jestjs.io/docs/cli#--silent
120
+ */
121
+ silent?: boolean;
122
+ /**
123
+ * Run only tests with a name that matches the regex pattern.
124
+ *
125
+ * @see https://jestjs.io/docs/cli#--testnamepatternregex
126
+ */
127
+ testNamePattern?: string;
128
+ /**
129
+ * An array of regexp pattern strings that is matched against all tests paths before executing the test. Only run those tests with a path that does not match with the provided regexp expressions.
130
+ *
131
+ * @see https://jestjs.io/docs/cli#--testpathignorepatternsregex
132
+ */
133
+ testPathIgnorePatterns?: string[];
134
+ /**
135
+ * An array of regexp pattern strings that is matched against all tests paths before executing the test. Only run tests with a path that matches the provided regexp expressions.
136
+ *
137
+ * @see https://jestjs.io/docs/cli#--testpathpatternsregex
138
+ */
139
+ testPathPatterns?: string[];
140
+ /**
141
+ * Enables colored output.
142
+ */
143
+ colors?: boolean;
144
+ /**
145
+ * A list of reporters to use for test results
146
+ */
147
+ reporters?: string[];
148
+ /**
149
+ * Display individual test results with the test suite hierarchy.
150
+ *
151
+ * @see https://jestjs.io/docs/cli#--verbose
152
+ */
153
+ verbose?: boolean;
154
+ /**
155
+ * A list of coverage reporters to use
156
+ */
157
+ coverageReporters?: string[];
158
+ /**
159
+ * The directory where Jest should output its coverage files.
160
+ */
161
+ coverageDirectory?: string;
162
+ /**
163
+ * A Node module that implements a custom results processor.
164
+ */
165
+ testResultsProcessor?: string;
166
+ /**
167
+ * Update snapshots during this test run.
168
+ */
169
+ updateSnapshot?: boolean;
170
+ /**
171
+ * Divert all output to stderr.
172
+ */
173
+ useStderr?: boolean;
174
+ /**
175
+ * Watch files for changes and rerun tests related to changed files.
176
+ */
177
+ watch?: boolean;
178
+ /**
179
+ * Watch files for changes and rerun all tests when something changes.
180
+ */
181
+ watchAll?: boolean;
182
+ /**
183
+ * Adds a location field to test results. Used to report location of a test in a reporter. Example: `{ "column": 4, "line": 5 }`.
184
+ *
185
+ * @see https://jestjs.io/docs/cli#--testlocationinresultsboolean
186
+ */
187
+ testLocationInResults?: boolean;
188
+ /**
189
+ * Default timeout of a test in milliseconds.
190
+ *
191
+ * @see https://jestjs.io/docs/cli#--testtimeoutmilliseconds
192
+ *
193
+ * @defaultValue 5000
194
+ */
195
+ testTimeout?: number;
196
+ }
197
+ interface JestPluginUserConfig extends UserConfig {
198
+ test: {
199
+ /**
200
+ * Jest transformation options
201
+ */
202
+ jest: Config.Argv;
203
+ };
204
+ }
205
+ interface JestPluginResolvedConfig extends ResolvedConfig {
206
+ test: {
207
+ /**
208
+ * Resolved Jest transformation options
209
+ */
210
+ jest: Config.Argv;
211
+ };
212
+ }
213
+ type JestPluginContext<TResolvedConfig extends JestPluginResolvedConfig = JestPluginResolvedConfig> = PluginContext<TResolvedConfig>;
214
+ declare type __ΩJestPluginOptions = any[];
215
+ declare type __ΩJestPluginUserConfig = any[];
216
+ declare type __ΩJestPluginResolvedConfig = any[];
217
+ declare type __ΩJestPluginContext = any[];
218
+ //#endregion
2
219
  export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, __ΩJestPluginContext, __ΩJestPluginOptions, __ΩJestPluginResolvedConfig, __ΩJestPluginUserConfig };
@@ -1,3 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-jest",
3
- "version": "0.1.131",
3
+ "version": "0.1.133",
4
4
  "type": "module",
5
5
  "description": "A package containing the Jest testing plugin for Powerlines.",
6
6
  "repository": {
@@ -127,13 +127,13 @@
127
127
  "jest-config": "^30.2.0",
128
128
  "jest-resolve": "^30.2.0",
129
129
  "jest-util": "^30.2.0",
130
- "powerlines": "^0.36.27"
130
+ "powerlines": "^0.36.29"
131
131
  },
132
132
  "devDependencies": {
133
133
  "@jest/types": "^30.2.0",
134
- "@powerlines/nx": "^0.11.53",
134
+ "@powerlines/nx": "^0.11.55",
135
135
  "@types/jest": "^30.0.0"
136
136
  },
137
137
  "publishConfig": { "access": "public" },
138
- "gitHead": "fbc59ce584fd0f78d90d2dbaa18f9c9267bd3b61"
138
+ "gitHead": "bfbde2cda62a5307013bf11d1ef6a8500bcbc4b1"
139
139
  }
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };