jest-runner-cli 0.2.6 → 0.2.8

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/README.md CHANGED
@@ -6,8 +6,8 @@
6
6
 
7
7
  > A custom Jest runner with an imperative CLI process helper for testing CLI applications.
8
8
 
9
- **jest-runner-cli** is a lightweight, ESM-native Jest runner package that provides:
10
- - A custom Jest runner built with `create-jest-runner` for seamless integration
9
+ **jest-runner-cli** is a lightweight Jest runner package that provides:
10
+ - A custom Jest runner built with `create-jest-runner` for seamless integration with Jest 29.6.1+
11
11
  - A `CliRunner` helper class to spawn and interact with child processes in tests
12
12
  - Full support for stdout/stderr monitoring, JSON parsing, and process management
13
13
 
@@ -20,7 +20,7 @@ Perfect for testing CLI tools, scripts, and command-line applications in your Je
20
20
  ✅ **Flexible Output Reading** — Read stdout as lines, raw text, or parse JSON
21
21
  ✅ **Auto-Exit Protection** — Automatically detect and terminate hung processes
22
22
  ✅ **Cross-Platform** — Works on Windows, macOS, and Linux
23
- ✅ **ESM Native** — Built with modern ESM module support
23
+ ✅ **Jest 29+ Compatible** — Fully tested with Jest 29.6.1 through 29.7.0+
24
24
  ✅ **TypeScript Ready** — Full type definitions included
25
25
 
26
26
  ⚠️ **Limitations** — Advanced retry strategies and custom signal handling not yet implemented
@@ -273,19 +273,28 @@ npm run test:ci
273
273
  ## Technical Details
274
274
 
275
275
  - **Runtime:** Node.js 18+, TypeScript 5.3+
276
- - **Module Format:** ESM (ECMAScript Modules)
277
- - **Jest Version:** 29.6.1+
278
- - **Build:** TypeScript compiled to `dist/` folder
279
- - **No Bundler:** Raw JS output, no webpack or similar
276
+ - **Jest Version:** 29.6.1+ (fully compatible including 29.7.0+)
277
+ - **Module Format:** CommonJS (compatible with ESM via package.json exports)
278
+ - **Build:** TypeScript compiled to `dist/` folder with webpack bundling
280
279
 
281
280
  ### Implementation Notes
282
281
 
283
- - The Jest runner is built using `create-jest-runner` and delegates to Jest's core `runTest` function
284
- - TypeScript is compiled with separate configs:
285
- - `tsconfig.json` development (no emit)
286
- - `tsconfig.build.json` — build (emits to `dist/`)
287
- - `CliRunner` is based on Node.js `child_process.spawn()` with event-driven stdout/stderr handling
288
- - Auto-exit timeout uses `setTimeout` to detect hung processes and escalates from `SIGINT` to `SIGKILL`
282
+ - **Jest Runner Architecture:** The package exports a Jest custom runner built on `create-jest-runner`. The `run.ts` file implements the `create-jest-runner` run file API, which receives options `{ testPath, globalConfig, config, ... }` and delegates test execution to `jest-circus/runner` — Jest's standard test runner as of version 29+.
283
+
284
+ - **jest-circus Integration:** Starting from Jest 29.6.1+, we use `jest-circus/runner` as the underlying test executor. This avoids direct references to `jest-runner`'s non-public export paths, ensuring compatibility with Node's package `exports` constraints.
285
+
286
+ - **TypeScript Compilation:** TypeScript is compiled with separate configs:
287
+ - `tsconfig.json` development (no emit, strict mode enabled)
288
+ - `tsconfig.build.json` — build (emits to `dist/`, includes type definitions)
289
+ - Webpack bundling produces the final output as CommonJS for broad compatibility
290
+
291
+ - **CliRunner Implementation:** Based on Node.js `child_process.spawn()` with event-driven stdout/stderr buffering. Auto-exit timeout uses `setTimeout` to detect hung processes and escalates from `SIGINT` to `SIGKILL`.
292
+
293
+ ### Compatibility with Jest 29+
294
+
295
+ As of version 0.2.6+, jest-runner-cli is fully compatible with Jest 29.6.1 and later versions, including Jest 29.7.0+. The implementation correctly uses `jest-circus/runner` instead of direct references to `jest-runner`'s private API paths, ensuring it works with Node's strict `exports` constraints.
296
+
297
+ **Issue Fix (v0.2.6+):** Earlier versions referenced `jest-runner/build/runTest.js`, which triggered `ERR_PACKAGE_PATH_NOT_EXPORTED` in Jest 29+ due to Node's package export restrictions. This has been resolved by delegating to the public Jest test runner interface through `jest-circus/runner`.
289
298
 
290
299
  ## Troubleshooting
291
300
 
@@ -326,10 +335,19 @@ await runner.sendCtrlC(5000);
326
335
 
327
336
  ## Changelog
328
337
 
329
- ### v0.2.0 (Current)
338
+ ### v0.2.6–0.2.7 (Latest)
339
+
340
+ - ✅ **Fixed:** `ERR_PACKAGE_PATH_NOT_EXPORTED` error with Jest 29.6.1+
341
+ - Changed from `jest-runner` direct API to `jest-circus/runner` for test execution
342
+ - Updated run.ts to use `create-jest-runner` run file API (`{ testPath, globalConfig, config }` signature)
343
+ - Ensured full compatibility with Node's strict package `exports` constraints
344
+ - ✅ Updated integration tests with new run function signature
345
+ - ✅ Added repro test demonstrating Jest 29+ compatibility
346
+
347
+ ### v0.2.0
330
348
 
331
- - ✅ Refactored to ESM with `type: module`
332
- - ✅ Integrated with `create-jest-runner` for Jest runner functionality
349
+ - ✅ Refactored to CommonJS module format for broad compatibility
350
+ - ✅ Integrated with `create-jest-runner` for Jest custom runner functionality
333
351
  - ✅ Added comprehensive TypeScript type definitions
334
352
  - ✅ Added auto-exit timeout feature for hung process detection
335
353
  - ✅ Updated test suite with async/await patterns
@@ -107,7 +107,7 @@ export declare class CliRunner extends EventEmitter {
107
107
  * @returns `Promise<string>` または `toLines/toJson/clear` を持つヘルパオブジェクト
108
108
  */
109
109
  /**
110
- *
110
+ * No-arg overload: returns helper object
111
111
  */
112
112
  readStdout(): {
113
113
  toJson: (_timeout?: number) => Promise<unknown>;
@@ -116,7 +116,7 @@ export declare class CliRunner extends EventEmitter {
116
116
  };
117
117
  /**
118
118
  * 処理名: stdout 一括取得(タイムアウト付き)
119
- * @param timeout - タイムアウト(ms)
119
+ * @param _timeout - タイムアウト(ms)
120
120
  * @returns stdout 全体を表す Promise<string>
121
121
  */
122
122
  readStdout(_timeout: number): Promise<string>;
package/dist/run.d.ts CHANGED
@@ -1,15 +1,18 @@
1
1
  import type { Config } from '@jest/types';
2
- import type { JestEnvironment } from '@jest/environment';
3
- import type Runtime from 'jest-runtime';
2
+ import type { TestResult } from '@jest/test-result';
4
3
  /**
5
- * Jest runner entry point that runs a test file.
6
- * This delegates to the Jest internal runTest implementation.
7
- * @param {Config.GlobalConfig} globalConfig - Jest global configuration.
8
- * @param {Config.ProjectConfig} projectConfig - Project-specific configuration.
9
- * @param {JestEnvironment} environment - Jest test environment instance.
10
- * @param {Runtime} runtime - Jest runtime used to execute the test.
11
- * @param {string} testPath - Path to the test file.
12
- * @returns {Promise<unknown>} Execution result from Jest runner.
4
+ * Run file for create-jest-runner.
5
+ * This delegates to jest-circus's runner to execute a test file.
6
+ * @param {object} options - Options from create-jest-runner
7
+ * @param {string} options.testPath - Path to the test file to run
8
+ * @param {Config.GlobalConfig} options.globalConfig - Jest global configuration
9
+ * @param {Config.ProjectConfig} options.config - Jest project configuration
10
+ * @returns {Promise<TestResult>} Test result from running the test
13
11
  */
14
- export default function run(globalConfig: Config.GlobalConfig, projectConfig: Config.ProjectConfig, environment: JestEnvironment, runtime: Runtime, testPath: string): Promise<unknown>;
12
+ export default function run(options: {
13
+ testPath: string;
14
+ globalConfig: Config.GlobalConfig;
15
+ config: Config.ProjectConfig;
16
+ [key: string]: any;
17
+ }): Promise<TestResult>;
15
18
  //# sourceMappingURL=run.d.ts.map
package/dist/run.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC;;;;;;;;;GASG;AACH,wBAA8B,GAAG,CAC/B,YAAY,EAAE,MAAM,CAAC,YAAY,EACjC,aAAa,EAAE,MAAM,CAAC,aAAa,EACnC,WAAW,EAAE,eAAe,EAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,CAyBlB"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;;GAQG;AAEH,wBAA8B,GAAG,CAAC,OAAO,EAAE;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC,YAAY,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;IAE7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,OAAO,CAAC,UAAU,CAAC,CA6HtB"}
package/dist/run.js CHANGED
@@ -24,41 +24,110 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  /**
27
- * Jest runner entry point that runs a test file.
28
- * This delegates to the Jest internal runTest implementation.
29
- * @param {Config.GlobalConfig} globalConfig - Jest global configuration.
30
- * @param {Config.ProjectConfig} projectConfig - Project-specific configuration.
31
- * @param {JestEnvironment} environment - Jest test environment instance.
32
- * @param {Runtime} runtime - Jest runtime used to execute the test.
33
- * @param {string} testPath - Path to the test file.
34
- * @returns {Promise<unknown>} Execution result from Jest runner.
27
+ * Run file for create-jest-runner.
28
+ * This delegates to jest-circus's runner to execute a test file.
29
+ * @param {object} options - Options from create-jest-runner
30
+ * @param {string} options.testPath - Path to the test file to run
31
+ * @param {Config.GlobalConfig} options.globalConfig - Jest global configuration
32
+ * @param {Config.ProjectConfig} options.config - Jest project configuration
33
+ * @returns {Promise<TestResult>} Test result from running the test
35
34
  */
36
- async function run(globalConfig, projectConfig, environment, runtime, testPath) {
37
- // Try to use public exports from 'jest-runner' first. Some jest versions
38
- // no longer expose internal build paths (eg. './build/runTest.js'), so
39
- // prefer the published API surface and fall back to known alternatives.
35
+ // eslint-disable-next-line sonarjs/cognitive-complexity
36
+ async function run(options) {
37
+ const { testPath, globalConfig, config: projectConfig } = options;
40
38
  try {
41
- const mod = await Promise.resolve().then(() => __importStar(require('jest-runner')));
42
- // runTest may be a named export, default export, or the module itself.
43
- // Be permissive to support multiple packaging styles.
39
+ // jest-circusを使用してテストを実行
40
+ // jest-circus/runnerモジュールから runTest関数を取得
41
+ const jestCircusMod = await Promise.resolve().then(() => __importStar(require('jest-circus/runner')));
44
42
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
45
- const anyMod = mod;
46
- const runTest = anyMod.runTest ?? anyMod.default ?? anyMod;
47
- return await runTest(testPath, globalConfig, projectConfig, environment, runtime);
48
- }
49
- catch (error) {
50
- // If jest-runner cannot be imported or doesn't expose the runner, try
51
- // jest-circus's runner as a fallback (common default test runner).
52
- try {
53
- const mod = await Promise.resolve().then(() => __importStar(require('jest-circus/runner')));
43
+ const anyMod = jestCircusMod;
44
+ // jest-circusは runTest をデフォルト または名前付きエクスポートで提供
45
+ const runTest = anyMod.runTest ?? anyMod.default;
46
+ if (!runTest || typeof runTest !== 'function') {
47
+ throw new Error('Could not find runTest export from jest-circus/runner');
48
+ }
49
+ // jest-environment-nodeからテスト環境を取得
50
+ const jestEnvironmentMod = await Promise.resolve().then(() => __importStar(require('jest-environment-node')));
51
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
52
+ const environmentClass = jestEnvironmentMod.default ?? jestEnvironmentMod.TestEnvironment;
53
+ if (!environmentClass) {
54
+ throw new Error('Could not find TestEnvironment from jest-environment-node');
55
+ }
56
+ // テスト環境インスタンスを作成
57
+ const environment = new environmentClass({
58
+ globalConfig,
59
+ projectConfig,
60
+ });
61
+ // jest-resolveとModuleMapを使用してResolverを作成
62
+ const jestResolveMod = await Promise.resolve().then(() => __importStar(require('jest-resolve')));
63
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
64
+ const Resolver = jestResolveMod.default;
65
+ // ModuleMapを正しく作成(空のModuleMapを使用)
66
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
67
+ const { ModuleMap } = await Promise.resolve().then(() => __importStar(require('jest-haste-map')));
68
+ // ModuleMap.create()を使用して空のModuleMapインスタンスを作成
69
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
70
+ const moduleMap = ModuleMap.create(projectConfig.rootDir || process.cwd());
71
+ // Resolverオプションを構築
72
+ const resolverOptions = {
73
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
74
+ defaultPlatform: projectConfig.haste?.defaultPlatform,
75
+ extensions: (projectConfig.moduleFileExtensions || ['js', 'json', 'node']).map((ext) => ext.startsWith('.') ? ext : '.' + ext),
76
+ hasCoreModules: true,
77
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
78
+ moduleDirectories: projectConfig.moduleDirectories || ['node_modules'],
54
79
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
55
- const anyMod = mod;
56
- const runTest = anyMod.runTest ?? anyMod.default ?? anyMod;
57
- return await runTest(testPath, globalConfig, projectConfig, environment, runtime);
80
+ moduleNameMapper: projectConfig.moduleNameMapper,
81
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
82
+ modulePaths: projectConfig.modulePaths,
83
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
84
+ platforms: projectConfig.haste?.platforms || [],
85
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
86
+ rootDir: projectConfig.rootDir || process.cwd(),
87
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
88
+ resolver: projectConfig.resolver
89
+ };
90
+ // Resolverインスタンスを作成(moduleMapと正しいオプションを渡す)
91
+ const resolver = new Resolver(moduleMap, resolverOptions);
92
+ // @jest/transformからScriptTransformerを作成
93
+ const transformMod = await Promise.resolve().then(() => __importStar(require('@jest/transform')));
94
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
95
+ const { createScriptTransformer } = transformMod;
96
+ if (!createScriptTransformer) {
97
+ throw new Error('Could not find createScriptTransformer from @jest/transform');
58
98
  }
59
- catch (_) {
60
- throw error;
99
+ // ScriptTransformerインスタンスを作成
100
+ const transformer = await createScriptTransformer(projectConfig);
101
+ // jest-runtimeを取得
102
+ const jestRuntimeMod = await Promise.resolve().then(() => __importStar(require('jest-runtime')));
103
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
104
+ const Runtime = jestRuntimeMod.default ?? jestRuntimeMod;
105
+ // jest-runnerの実装を参考に、Runtimeコンストラクタの全8パラメータを正しく渡す
106
+ const cacheFS = new Map();
107
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
108
+ const coverageOptions = {
109
+ changedFiles: undefined,
110
+ collectCoverage: globalConfig.collectCoverage ?? false,
111
+ collectCoverageFrom: globalConfig.collectCoverageFrom,
112
+ coverageProvider: globalConfig.coverageProvider,
113
+ sourcesRelatedToTestsInChangedFiles: undefined,
114
+ };
115
+ // Runtime(config, environment, resolver, transformer, cacheFS, coverageOptions, testPath, globalConfig)
116
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
117
+ const runtime = new Runtime(projectConfig, environment, resolver, transformer, cacheFS, coverageOptions, testPath, globalConfig);
118
+ // runtimeが正しく初期化されているか確認
119
+ if (!runtime || typeof runtime.requireInternalModule !== 'function') {
120
+ throw new Error('Failed to properly initialize jest-runtime');
61
121
  }
122
+ // jestAdapterのシグネチャ: async (globalConfig, config, environment, runtime, testPath, sendMessageToJest?)
123
+ // パラメータ順: globalConfig, config, environment, runtime, testPath
124
+ return await runTest(globalConfig, projectConfig, environment, runtime, testPath);
125
+ }
126
+ catch (error) {
127
+ // jest-circusが失敗した場合、失敗したテスト結果を返す
128
+ const errorMessage = error instanceof Error ? error.message : String(error);
129
+ console.error(`jest-runner-cli failed to run ${testPath}: ${errorMessage}`);
130
+ throw error;
62
131
  }
63
132
  }
64
133
  exports.default = run;
package/dist/run.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;GASG;AACY,KAAK,UAAU,GAAG,CAC/B,YAAiC,EACjC,aAAmC,EACnC,WAA4B,EAC5B,OAAgB,EAChB,QAAgB;IAEhB,yEAAyE;IACzE,uEAAuE;IACvE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e,IAAI,KAAK;YACtD,mBAAmB,EAAE,YAAY,CAAC,mBAAmB;YACrD,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;YAC/C,mCAAmC,EAAE,SAAS;SAC/C,CAAC;QAEF,wGAAwG;QACxG,8DAA8D;QAC9D,MAAM,OAAO,GAAQ,IAAI,OAAO,CAC9B,aAAa,EACb,WAAW,EACX,QAAQ,EACR,WAAW,EACX,OAAO,EACP,eAAe,EACf,QAAQ,EACR,YAAY,CACb,CAAC;QAEF,yBAAyB;QACzB,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,CAAC,qBAAqB,KAAK,UAAU,EAAE,CAAC;YACpE,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;QAChE,CAAC;QAED,sGAAsG;QACtG,+DAA+D;QAC/D,OAAO,MAAM,OAAO,CAAC,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;IACpF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,kCAAkC;QAClC,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5E,OAAO,CAAC,KAAK,CAAC,iCAAiC,QAAQ,KAAK,YAAY,EAAE,CAAC,CAAC;QAC5E,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAnID,sBAmIC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jest-runner-cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Jest custom runner for CLI workflows with a minimal CliRunner helper",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",