Skip to content

Reports returned values on received function not throw when expect .toThrow() #14502

Reports returned values on received function not throw when expect .toThrow()

Reports returned values on received function not throw when expect .toThrow() #14502

Triggered via pull request March 14, 2025 07:02
Status Failure
Total duration 16m 31s
Artifacts

nodejs.yml

on: pull_request
prepare-yarn-cache-ubuntu  /  Prepare yarn cache for ubuntu-latest
14s
prepare-yarn-cache-ubuntu / Prepare yarn cache for ubuntu-latest
prepare-yarn-cache-macos  /  Prepare yarn cache for macos-latest
27s
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 27s
TypeScript Compatibility
Typecheck Examples and Tests
3m 55s
Typecheck Examples and Tests
Lint
1m 32s
Lint
Validate Yarn dependencies and constraints
15s
Validate Yarn dependencies and constraints
Node LTS on Ubuntu with leak detection
45s
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

18 errors and 6 warnings
Lint
Process completed with exit code 1.
macOS with shard 2/3 / Node LTS using jest-jasmine2: 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)
Windows with shard 2/4 / Node LTS using jest-jasmine2: e2e/__tests__/jestChangedFiles.test.ts#L394
expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 36 Array [ + ".watchmanconfig", + "00changelog.i", + "26dfeeb6e641a33dae4961196235bdb965b21b", + "3c8d3af3016988d8abb98e6a35854f088e8704", + "6d6c73d3d5a72254e74f72e6725d1402c9ddc8", + "9de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "COMMIT_EDITMSG", + "HEAD", + "HEAD", + "ab0f70703a36d51ba9ab4ac3db92ede266f2d4", + "af84d30ba3b9d5926400735269cf15c4051dc8", + "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)
Windows with shard 2/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 2/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 2/4 / Node LTS using jest-jasmine2: e2e/__tests__/jestChangedFiles.test.ts#L394
expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 36 Array [ + ".watchmanconfig", + "00changelog.i", + "26dfeeb6e641a33dae4961196235bdb965b21b", + "3c8d3af3016988d8abb98e6a35854f088e8704", + "609fcb72462339a4b8dd6c03cd20bdf7bfc155", + "6d6c73d3d5a72254e74f72e6725d1402c9ddc8", + "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)
Windows with shard 2/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 2/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 3/4 / Node v22.x: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 6 + Received + 6 @@ -67,41 +67,41 @@ 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: "six" at log (__tests__/concurrent.test.js:15:11) console.log - END: "six" + END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log - END: "seven" + END: "nine" 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)
Windows with shard 4/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 4/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 4/4 / Node LTS using jest-jasmine2: undefined#L0
Timed out at timeoutKill (node_modules/execa/lib/kill.js:65:23)
Windows with shard 4/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 4/4 / Node LTS using jest-jasmine2: 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)
Windows with shard 4/4 / Node v16.x: e2e/Utils.ts#L158
EEXIST: file already exists, symlink 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test\symlinked-files\test.js' -> 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test\test-files\test.js' at symlinkSync (e2e/Utils.ts:158:8) at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:30:16)
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node LTS using jest-jasmine2
Attempt 2 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
Windows with shard 3/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 v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1