fix: pass resolve conditions when loading stub module #14422
Triggered via pull request
February 5, 2025 09:21
Status
Cancelled
Total duration
8m 12s
Artifacts
–
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
13s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
19s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
1m 0s
TypeScript Compatibility
3m 53s
Typecheck Examples and Tests
3m 59s
Lint
1m 46s
Validate Yarn dependencies and constraints
18s
Node LTS on Ubuntu with leak detection
50s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
73 errors and 4 warnings
Lint
Process completed with exit code 1.
|
TypeScript Compatibility:
packages/jest-resolve-dependencies/src/index.ts#L54
Argument of type 'ResolveModuleConfig | undefined' is not assignable to parameter of type 'ResolveModuleConfig'.
|
TypeScript Compatibility:
packages/jest-resolve-dependencies/src/index.ts#L61
Argument of type 'ResolveModuleConfig | undefined' is not assignable to parameter of type 'Pick<ResolveModuleConfig, "conditions">'.
|
TypeScript Compatibility:
packages/jest-resolve-dependencies/src/index.ts#L80
Argument of type 'ResolveModuleConfig | undefined' is not assignable to parameter of type 'Pick<ResolveModuleConfig, "conditions">'.
|
TypeScript Compatibility
Process completed with exit code 1.
|
Typecheck Examples and Tests:
packages/jest-resolve-dependencies/src/index.ts#L54
Argument of type 'ResolveModuleConfig | undefined' is not assignable to parameter of type 'ResolveModuleConfig'.
|
Typecheck Examples and Tests:
packages/jest-resolve-dependencies/src/index.ts#L61
Argument of type 'ResolveModuleConfig | undefined' is not assignable to parameter of type 'Pick<ResolveModuleConfig, "conditions">'.
|
Typecheck Examples and Tests:
packages/jest-resolve-dependencies/src/index.ts#L80
Argument of type 'ResolveModuleConfig | undefined' is not assignable to parameter of type 'Pick<ResolveModuleConfig, "conditions">'.
|
Typecheck Examples and Tests
Process completed with exit code 1.
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
Ubuntu with shard 1/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
|
with skip › runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L47
expect(received).toMatchSnapshot()
Snapshot name: `with skip runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -52,16 +52,16 @@
END: "four"
at log (__tests__/concurrent-skip.test.js:15:11)
console.log
- END: "eight"
+ END: "ten"
at log (__tests__/concurrent-skip.test.js:15:11)
console.log
- END: "ten"
+ END: "eight"
at log (__tests__/concurrent-skip.test.js:15:11)
console.log
afterAll
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:47:20)
|
macOS with shard 2/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 2/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 2/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 3/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 3/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 2/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 3/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 3/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 3/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 3/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 4/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 4/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 1/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 1/4 / Node v22.x
The operation was canceled.
|
Windows with shard 3/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 3/4 / Node v18.x
The operation was canceled.
|
Windows with shard 3/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 3/4 / Node v16.x
The operation was canceled.
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
The operation was canceled.
|
Windows with shard 1/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
Windows with shard 1/4 / Node v23.x
The operation was canceled.
|
Windows with shard 2/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 2/4 / Node v22.x
The operation was canceled.
|
Windows with shard 1/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 1/4 / Node v18.x
The operation was canceled.
|
Windows with shard 2/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 2/4 / Node v23.x
The operation was canceled.
|
macOS with shard 1/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
macOS with shard 1/3 / Node v23.x
The operation was canceled.
|
Windows with shard 1/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 1/4 / Node v16.x
The operation was canceled.
|
macOS with shard 2/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 2/3 / Node v16.x
The operation was canceled.
|
Windows with shard 2/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 2/4 / Node v20.x
The operation was canceled.
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
The operation was canceled.
|
Windows with shard 1/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 1/4 / Node v20.x
The operation was canceled.
|
macOS with shard 1/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
macOS with shard 1/3 / Node v22.x
The operation was canceled.
|
Windows with shard 2/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 2/4 / Node v16.x
The operation was canceled.
|
Windows with shard 2/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Windows with shard 2/4 / Node v18.x
The operation was canceled.
|
Node LTS on Ubuntu with coverage (1/4)
Canceling since a higher priority waiting request for 'Node CI-fix/load-stub-module-conditions' exists
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v23.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
|
macOS with shard 1/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|