Chanelog for globals cleanup on env teardown #14798
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
17s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
19s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
37s
TypeScript Compatibility
6m 2s
Typecheck Examples and Tests
4m 21s
Lint
1m 56s
Validate Yarn dependencies and constraints
19s
Node LTS on Ubuntu with leak detection
48s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
6 errors and 4 warnings
|
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)
|
|
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)
|
|
gets changed files for hg:
e2e/__tests__/jestChangedFiles.test.ts#L394
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 36
Array [
+ ".watchmanconfig",
+ "00changelog.i",
+ "26dfeeb6e641a33dae4961196235bdb965b21b",
+ "3c8d3af3016988d8abb98e6a35854f088e8704",
+ "6d6c73d3d5a72254e74f72e6725d1402c9ddc8",
+ "8c2f59ffcb46d05482947715027509672ccc23",
+ "9de29bb2d1d6434b8b29ae775ad8c2e48c5391",
+ "COMMIT_EDITMSG",
+ "HEAD",
+ "HEAD",
+ "ab0f70703a36d51ba9ab4ac3db92ede266f2d4",
+ "applypatch-msg.sample",
+ "b83fd321d87232fd6688dd32631f7c27cd36cb",
+ "commit-msg.sample",
+ "config",
+ "description",
+ "exclude",
+ "file1.js",
+ "file1.test.js",
"file1.txt",
"file2.txt",
"file3.txt",
+ "fsmonitor-watchman.sample",
+ "index",
+ "main",
+ "main",
+ "package.json",
+ "post-update.sample",
+ "pre-applypatch.sample",
+ "pre-commit.sample",
+ "pre-merge-commit.sample",
+ "pre-push.sample",
+ "pre-rebase.sample",
+ "pre-receive.sample",
+ "prepare-commit-msg.sample",
+ "push-to-checkout.sample",
+ "requires",
+ "sendemail-validate.sample",
+ "update.sample",
]
at Object.toEqual (e2e/__tests__/jestChangedFiles.test.ts:394:70)
|
|
gets changed files for hg:
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 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 v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|