Skip to content

feat(config): if process.features.typescript is set, load jest.config.ts without external loader #14407

feat(config): if process.features.typescript is set, load jest.config.ts without external loader

feat(config): if process.features.typescript is set, load jest.config.ts without external loader #14407

Triggered via pull request January 29, 2025 10:25
Status Cancelled
Total duration 15m 35s
Artifacts

nodejs.yml

on: pull_request
prepare-yarn-cache-ubuntu  /  Prepare yarn cache for ubuntu-latest
13s
prepare-yarn-cache-ubuntu / Prepare yarn cache for ubuntu-latest
prepare-yarn-cache-macos  /  Prepare yarn cache for macos-latest
19s
prepare-yarn-cache-macos / Prepare yarn cache for macos-latest
prepare-yarn-cache-windows  /  Prepare yarn cache for windows-latest
56s
prepare-yarn-cache-windows / Prepare yarn cache for windows-latest
TypeScript Compatibility
5m 39s
TypeScript Compatibility
Typecheck Examples and Tests
4m 7s
Typecheck Examples and Tests
Lint
1m 46s
Lint
Validate Yarn dependencies and constraints
13s
Validate Yarn dependencies and constraints
Node LTS on Ubuntu with leak detection
49s
Node LTS on Ubuntu with leak detection
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Fit to window
Zoom out
Zoom in

Annotations

139 errors and 27 warnings
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Node LTS on Ubuntu with coverage (3/4)
Final attempt failed. Child_process exited with error code 1
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Ubuntu with shard 3/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
Ubuntu with shard 3/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
Ubuntu with shard 3/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /tmp/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/home/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/home/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/home/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/home/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/home/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
Ubuntu with shard 3/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
processChild › handles `Symbol`: undefined#L1
Timed out at timeoutKill (node_modules/execa/lib/kill.js:65:23)
processChild › handles `Symbol`: e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\bigint-inequality-test' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/nonSerializableStructuresInequality.test.ts:48:10)
processChild › handles functions: e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9) at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:98:35)
can press "u" to update snapshots: e2e/__tests__/watchModeUpdateSnapshot.test.ts#L50
expect(received).toMatchSnapshot(hint) Snapshot name: `can press "u" to update snapshots: test results 1` - Snapshot - 0 + Received + 1 @@ -14,7 +14,8 @@ | ^ at Object.toMatchSnapshot (__tests__/bar.spec.js:1:35) › 1 snapshot failed. + A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. Snapshot Summary › 1 snapshot failed from 1 test suite. Inspect your code changes or press `u` to update them." at Object.toMatchSnapshot (e2e/__tests__/watchModeUpdateSnapshot.test.ts:50:18)
can press "u" to update snapshots: e2e/__tests__/watchModeUpdateSnapshot.test.ts#L50
expect(received).toMatchSnapshot(hint) Snapshot name: `can press "u" to update snapshots: test results 1` - Snapshot - 0 + Received + 1 @@ -14,7 +14,8 @@ | ^ at Object.toMatchSnapshot (__tests__/bar.spec.js:1:35) › 1 snapshot failed. + A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. Snapshot Summary › 1 snapshot failed from 1 test suite. Inspect your code changes or press `u` to update them." at Object.toMatchSnapshot (e2e/__tests__/watchModeUpdateSnapshot.test.ts:50:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Windows with shard 3/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
handles a bad revision for "changedSince": e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
handles a bad revision for "changedSince": e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
macOS with shard 2/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
Windows with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Windows with shard 3/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 2 + Received + 2 @@ -92,16 +92,16 @@ END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "eight" at log (__tests__/concurrent.test.js:15:11) console.log - END: "eight" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log afterAll at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 4 + Received + 4 @@ -67,21 +67,21 @@ START "nine" at log (__tests__/concurrent.test.js:15:11) console.log - END: "nine" + END: "five" at log (__tests__/concurrent.test.js:15:11) console.log START "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "five" + END: "nine" at log (__tests__/concurrent.test.js:15:11) console.log END: "six" @@ -92,16 +92,16 @@ END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "eight" at log (__tests__/concurrent.test.js:15:11) console.log - END: "eight" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log afterAll at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Windows with shard 3/4 / Node v20.x
The operation was canceled.
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 5 + Received + 5 @@ -67,36 +67,36 @@ START "nine" at log (__tests__/concurrent.test.js:15:11) console.log - END: "nine" + END: "five" at log (__tests__/concurrent.test.js:15:11) console.log START "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "five" + END: "nine" at log (__tests__/concurrent.test.js:15:11) console.log - END: "six" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "seven" + END: "six" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log END: "eight" at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
Windows with shard 3/4 / Node v18.x
The operation was canceled.
macOS with shard 2/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
macOS with shard 2/3 / Node v18.x
The operation was canceled.
macOS with shard 2/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
macOS with shard 2/3 / Node v20.x
The operation was canceled.
Windows with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 2 + Received + 2 @@ -87,16 +87,16 @@ END: "six" at log (__tests__/concurrent.test.js:15:11) console.log - END: "seven" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log END: "eight" at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
Windows with shard 3/4 / Node v22.x
The operation was canceled.
Windows with shard 4/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
Windows with shard 4/4 / Node v23.x
The operation was canceled.
macOS with shard 2/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
macOS with shard 2/3 / Node v22.x
The operation was canceled.
macOS with shard 2/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
macOS with shard 2/3 / Node v16.x
The operation was canceled.
Windows with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
Windows with shard 3/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
Windows with shard 4/4 / Node v22.x
The operation was canceled.
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1174:26) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\typescript-config-file\\alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.·· at readConfigFileAndSetRootDir (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:2252:13) at async readInitialOptions (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1153:13) at async readConfig (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:924:7) at async Promise.all (index 0) at async readConfigs (D:\\a\\jest\\jest\\packages\\jest-config\\build\\index.js:1190:27) at async runCLI (D:\\a\\jest\\jest\\packages\\jest-core\\build\\index.js:1384:7) at async Object.run (D:\\a\\jest\\jest\\packages\\jest-cli\\build\\index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that does not import anything with project's moduleResolution set to Node16: e2e/runJest.ts#L283
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at toBe (e2e/runJest.ts:283:22) at Object.<anonymous> (e2e/__tests__/typescriptConfigFile.test.ts:112:30)
Windows with shard 3/4 / Node v16.x
The operation was canceled.
macOS with shard 2/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-pr/use-node-feature-typescript' exists
notify › does not report --notify flag: e2e/__tests__/detectOpenHandles.ts#L111
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Jest did not exit one second after the test run has completed.· 'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue." at Object.toBe (e2e/__tests__/detectOpenHandles.ts:111:27)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
works with single typescript config that imports something: e2e/__tests__/typescriptConfigFile.test.ts#L38
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1174:26) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:38:18)
works with multiple typescript configs that import something: e2e/__tests__/typescriptConfigFile.test.ts#L100
expect(received).toContain(expected) // indexOf Expected substring: "PASS __tests__/mytest.alpha.js" Received string: "Error: Jest: Failed to parse the TypeScript config file /private/var/folders/s2/l6lg2jp90ns78dx8mzkn6w_c0000gn/T/typescript-config-file/alpha.config.ts TSError: ⨯ Unable to compile TypeScript: alpha.config.ts(1,25): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.· at readConfigFileAndSetRootDir (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:2252:13) at async readInitialOptions (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1153:13) at async readConfig (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:924:7) at async Promise.all (index 0) at async readConfigs (/Users/runner/work/jest/jest/packages/jest-config/build/index.js:1190:27) at async runCLI (/Users/runner/work/jest/jest/packages/jest-core/build/index.js:1384:7) at async Object.run (/Users/runner/work/jest/jest/packages/jest-cli/build/index.js:657:9)" at Object.toContain (e2e/__tests__/typescriptConfigFile.test.ts:100:18)
macOS with shard 2/3 / Node LTS using jest-jasmine2
The operation was canceled.
Node LTS on Ubuntu with coverage (3/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (3/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1