chore(jest-each): replace chalk
with picocolors
#14429
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
53s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
1m 25s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
2m 11s
TypeScript Compatibility
5m 31s
Typecheck Examples and Tests
3m 59s
Lint
2m 14s
Validate Yarn dependencies and constraints
24s
Node LTS on Ubuntu with leak detection
50s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
20 errors and 12 warnings
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
|
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
@@ -27,21 +27,21 @@
START "five"
at log (__tests__/concurrent.test.js:15:11)
console.log
- END: "three"
+ END: "one"
at log (__tests__/concurrent.test.js:15:11)
console.log
START "six"
at log (__tests__/concurrent.test.js:15:11)
console.log
- END: "one"
+ END: "three"
at log (__tests__/concurrent.test.js:15:11)
console.log
START "seven"
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
|
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
@@ -27,21 +27,21 @@
START "five"
at log (__tests__/concurrent.test.js:15:11)
console.log
- END: "three"
+ END: "one"
at log (__tests__/concurrent.test.js:15:11)
console.log
START "six"
at log (__tests__/concurrent.test.js:15:11)
console.log
- END: "one"
+ END: "three"
at log (__tests__/concurrent.test.js:15:11)
console.log
START "seven"
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
|
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)
|
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)
|
globalSetup works with ESM modules:
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-global-setup-rejection '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-global-setup-rejection'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/globalSetup.test.ts:41:10)
|
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
Final attempt failed. Child_process exited with error 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)
|
macOS with shard 1/3 / Node v23.x
Final attempt failed. Child_process exited with error code 1
|
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)
|
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)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\find-related-tests-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/findRelatedFiles.test.ts:16:24)
|
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 v18.x
Attempt 1 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
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v23.x
Attempt 2 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
|
macOS with shard 1/3 / Node v23.x
Attempt 2 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
|
Windows with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|