Skip to content

feat: support beforeEach and beforeAll returning cleanup functions #14454

feat: support beforeEach and beforeAll returning cleanup functions

feat: support beforeEach and beforeAll returning cleanup functions #14454

Triggered via pull request February 15, 2025 17:32
Status Failure
Total duration 18m 2s
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
17s
prepare-yarn-cache-macos / Prepare yarn cache for macos-latest
prepare-yarn-cache-windows  /  Prepare yarn cache for windows-latest
48s
prepare-yarn-cache-windows / Prepare yarn cache for windows-latest
TypeScript Compatibility
5m 42s
TypeScript Compatibility
Typecheck Examples and Tests
3m 59s
Typecheck Examples and Tests
Lint
1m 37s
Lint
Validate Yarn dependencies and constraints
14s
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

177 errors and 38 warnings
Lint: packages/jest-circus/src/run.ts#L70
Expected object keys to be in ascending order. 'fn' should be before 'type'
Lint: packages/jest-circus/src/run.ts#L77
Expected object keys to be in ascending order. 'fn' should be before 'type'
Lint: packages/jest-circus/src/run.ts#L186
Pass a message to the `Error` constructor
Lint: packages/jest-circus/src/run.ts#L269
Delete `··`
Lint: packages/jest-circus/src/run.ts#L288
Expected object keys to be in ascending order. 'fn' should be before 'type'
Lint: packages/jest-circus/src/run.ts#L295
Expected object keys to be in ascending order. 'fn' should be before 'type'
Lint
Process completed with exit code 1.
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
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)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
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 - 5 + Received + 5 @@ -67,36 +67,36 @@ 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" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "seven" + END: "six" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log END: "eight" at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
async cleanup functions are properly awaited: undefined#L1
expect(received).toMatchSnapshot() Snapshot name: `async cleanup functions are properly awaited 1` - Snapshot - 6 + Received + 6 @@ -12,32 +12,32 @@ run_describe_start: ROOT_DESCRIBE_BLOCK run_describe_start: describe test_start: test test_started: test hook_start: beforeEach - > beforeEach value: <yellow>1</color> + > beforeEach value: 1 hook_success: beforeEach test_fn_start: test - > test value: <yellow>1</color> + > test value: 1 test_fn_success: test hook_start: afterEach - > afterEach value: <yellow>1</color> + > afterEach value: 1 hook_success: afterEach test_done: test run_describe_finish: describe run_describe_start: describe with beforeAll hook_start: beforeAll - > beforeAll value: <yellow>3</color> + > beforeAll value: 3 hook_success: beforeAll test_start: test test_started: test test_fn_start: test - > test value: <yellow>3</color> + > test value: 3 test_fn_success: test test_done: test hook_start: afterAll - > afterAll value: <yellow>3</color> + > afterAll value: 3 hook_success: afterAll run_describe_finish: describe with beforeAll run_describe_finish: ROOT_DESCRIBE_BLOCK run_finish ↵ at Object.toMatchSnapshot (packages/jest-circus/src/__tests__/hooks.test.ts:240:18)
async cleanup functions are properly awaited: undefined#L1
expect(received).toMatchSnapshot() Snapshot name: `async cleanup functions are properly awaited 1` - Snapshot - 6 + Received + 6 @@ -12,32 +12,32 @@ run_describe_start: ROOT_DESCRIBE_BLOCK run_describe_start: describe test_start: test test_started: test hook_start: beforeEach - > beforeEach value: <yellow>1</color> + > beforeEach value: 1 hook_success: beforeEach test_fn_start: test - > test value: <yellow>1</color> + > test value: 1 test_fn_success: test hook_start: afterEach - > afterEach value: <yellow>1</color> + > afterEach value: 1 hook_success: afterEach test_done: test run_describe_finish: describe run_describe_start: describe with beforeAll hook_start: beforeAll - > beforeAll value: <yellow>3</color> + > beforeAll value: 3 hook_success: beforeAll test_start: test test_started: test test_fn_start: test - > test value: <yellow>3</color> + > test value: 3 test_fn_success: test test_done: test hook_start: afterAll - > afterAll value: <yellow>3</color> + > afterAll value: 3 hook_success: afterAll run_describe_finish: describe with beforeAll run_describe_finish: ROOT_DESCRIBE_BLOCK run_finish ↵ at Object.toMatchSnapshot (packages/jest-circus/src/__tests__/hooks.test.ts:240:18)
async cleanup functions are properly awaited: undefined#L1
expect(received).toMatchSnapshot() Snapshot name: `async cleanup functions are properly awaited 1` - Snapshot - 6 + Received + 6 @@ -12,32 +12,32 @@ run_describe_start: ROOT_DESCRIBE_BLOCK run_describe_start: describe test_start: test test_started: test hook_start: beforeEach - > beforeEach value: <yellow>1</color> + > beforeEach value: 1 hook_success: beforeEach test_fn_start: test - > test value: <yellow>1</color> + > test value: 1 test_fn_success: test hook_start: afterEach - > afterEach value: <yellow>1</color> + > afterEach value: 1 hook_success: afterEach test_done: test run_describe_finish: describe run_describe_start: describe with beforeAll hook_start: beforeAll - > beforeAll value: <yellow>3</color> + > beforeAll value: 3 hook_success: beforeAll test_start: test test_started: test test_fn_start: test - > test value: <yellow>3</color> + > test value: 3 test_fn_success: test test_done: test hook_start: afterAll - > afterAll value: <yellow>3</color> + > afterAll value: 3 hook_success: afterAll run_describe_finish: describe with beforeAll run_describe_finish: ROOT_DESCRIBE_BLOCK run_finish ↵ at Object.toMatchSnapshot (packages/jest-circus/src/__tests__/hooks.test.ts:240:18)
macOS with shard 2/3 / Node v16.x
Final attempt failed. Child_process exited with error code 1
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
sets env.JEST_WORKER_ID: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
lazily requires the file: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
calls initialize with the correct arguments: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results immediately when function is synchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'postMessage') at Object.postMessage (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:124:27)
returns results when it gets resolved if function is asynchronous: undefined#L1
TypeError: Cannot read properties of undefined (reading 'removeAllListeners') at Object.removeAllListeners (packages/jest-worker/src/workers/__tests__/threadChild.test.ts:130:15)
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 @@ -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" 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 - 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)
Ubuntu with shard 2/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (2/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (2/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 2/4 / Node v16.x
Attempt 2 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
macOS with shard 1/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v20.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 2/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v16.x
Attempt 2 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
Windows with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1