[jest-circus] Omit expect.hasAssertions()
errors if a test already has errors
#13323
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
14s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
52s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
59s
TypeScript Compatibility
6m 49s
Typecheck Examples and Tests
4m 43s
Lint
1m 58s
Validate Yarn dependencies and constraints
12s
Node LTS on Ubuntu with leak detection
1m 9s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
3 errors and 3 warnings
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)
|
Snapshot › Validation › deletes the snapshot if the test suite has been removed:
e2e/__tests__/snapshot.test.ts#L271
expect(received).toMatchSnapshot()
Snapshot name: `Snapshot Validation deletes the snapshot if the test suite has been removed 1`
- Snapshot - 1
+ Received + 1
Test Suites: 3 passed, 3 total
Tests: 9 passed, 9 total
Snapshots: 9 written, 9 total
- Time: <<REPLACED>>
+ Time: -<<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/snapshot.test.ts:271:55)
|
basic test constructs:
e2e/__tests__/globals.test.ts#L50
expect(received).toMatchSnapshot()
Snapshot name: `basic test constructs 2`
- Snapshot - 1
+ Received + 1
Test Suites: 1 passed, 1 total
Tests: 4 passed, 4 total
Snapshots: 0 total
- Time: <<REPLACED>>
+ Time: -<<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/globals.test.ts:50:19)
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|