chore(deps): update dependency @types/node to v22 #14209
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
55s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
1m 5s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
1m 38s
TypeScript Compatibility
2m 27s
Typecheck Examples and Tests
2m 13s
Lint
1m 42s
Validate Yarn dependencies and constraints
15s
Node LTS on Ubuntu with leak detection
1m 9s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
19 errors and 9 warnings
Typecheck Examples and Tests:
packages/jest-worker/src/index.ts#L9
Unused '@ts-expect-error' directive.
|
Typecheck Examples and Tests
Process completed with exit code 1.
|
TypeScript Compatibility:
packages/jest-worker/src/index.ts#L9
Unused '@ts-expect-error' directive.
|
TypeScript Compatibility
Process completed with exit code 1.
|
can press "p" to filter by file name:
e2e/__tests__/watchModePatterns.test.ts#L51
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "p" to filter by file name: test results 2`
- Snapshot - 0
+ Received + 2
PASS __tests__/bar.spec.js
✓ bar 1
✓ bar 2
+
+ 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.
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:51:18)
|
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)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 0
- --------------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
- --------------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
processChild › handles functions:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
processChild › handles functions:
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 mixed structure:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L121
expect(received).toMatchSnapshot()
Snapshot name: `processChild handles mixed structure 1`
- Snapshot - 18
+ Received + 18
FAIL __tests__/test-1.js
● test
expect(received).toEqual(expected) // deep equality
- Expected: false
- Received: {"bigInt": 42n, "fn": [Function anonymous], "map": Map {1 => "2"}, "ref": [Circular], "symbol": Symbol(asd), Symbol(qwe): Symbol(zxc)}
-
+ Expected: [Function fn2]
+ Received: [Function fn1]
+
+ 2 | const fn1 = () => {};
- 11 | method() {}
- 12 | }
+ 3 | const fn2 = () => {};
- > 13 | expect(new Class()).toEqual(false);
+ > 4 | expect(fn1).toEqual(fn2);
- | ^
+ | ^
- 14 | });
+ 5 | });
- at Object.toEqual (__tests__/test-1.js:13:23)
+ at Object.toEqual (__tests__/test-1.js:4:15)
FAIL __tests__/test-2.js
● test
expect(received).toEqual(expected) // deep equality
- Expected: false
- Received: {"bigInt": 42n, "fn": [Function anonymous], "map": Map {1 => "2"}, "ref": [Circular], "symbol": Symbol(asd), Symbol(qwe): Symbol(zxc)}
-
+ Expected: [Function fn2]
+ Received: [Function fn1]
+
+ 2 | const fn1 = () => {};
- 11 | method() {}
- 12 | }
+ 3 | const fn2 = () => {};
- > 13 | expect(new Class()).toEqual(false);
+ > 4 | expect(fn1).toEqual(fn2);
- | ^
+ | ^
- 14 | });
+ 5 | });
- at Object.toEqual (__tests__/test-2.js:13:23)
+ at Object.toEqual (__tests__/test-2.js:4:15)
at Object.toMatchSnapshot (e2e/__tests__/nonSerializableStructuresInequality.test.ts:121:18)
|
processChild › handles mixed structure:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L145
expect(received).toMatchSnapshot()
Snapshot name: `processChild handles mixed structure 3`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
"FAIL __tests__/test-1.js
● test
expect(received).toEqual(expected) // deep equality
Expected: false
Received: {"bigInt": 42n, "fn": [Function anonymous], "map": Map {1 => "2"}, "ref": [Circular], "symbol": Symbol(asd), Symbol(qwe): Symbol(zxc)}
11 | method() {}
12 | }
> 13 | expect(new Class()).toEqual(false);
| ^
14 | });
at Object.toEqual (__tests__/test-1.js:13:23)
FAIL __tests__/test-2.js
● test
expect(received).toEqual(expected) // deep equality
Expected: false
Received: {"bigInt": 42n, "fn": [Function anonymous], "map": Map {1 => "2"}, "ref": [Circular], "symbol": Symbol(asd), Symbol(qwe): Symbol(zxc)}
11 | method() {}
12 | }
> 13 | expect(new Class()).toEqual(false);
| ^
14 | });
at Object.toEqual (__tests__/test-2.js:13:23)"
at Object.toMatchSnapshot (e2e/__tests__/nonSerializableStructuresInequality.test.ts:145:18)
|
processChild › handles mixed structure:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L146
expect(received).toMatchSnapshot()
Snapshot name: `processChild handles mixed structure 4`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
"Test Suites: 2 failed, 2 total
Tests: 2 failed, 2 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites."
at Object.toMatchSnapshot (e2e/__tests__/nonSerializableStructuresInequality.test.ts:146:21)
|
Node crawler does not pick up symlinked files by default:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)
|
Should throw if watchman used with haste.enableSymlinks:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:15:10)
|
Should throw if watchman used with haste.enableSymlinks:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)
|
processChild › handles `BigInt`:
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:85:35)
|
processChild › handles `BigInt`:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
processChild › handles `BigInt`:
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 `BigInt`:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
Node LTS on Ubuntu with coverage (1/4)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Node LTS on Ubuntu with coverage (3/4)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Node LTS on Ubuntu with coverage (4/4)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Node LTS on Ubuntu with coverage (2/4)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
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 v22.x
Attempt 1 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 4/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|