Skip to content

Commit 5bfcc22

Browse files
fix(jest-worker): hangs caused by failed assertions with circular values (#15191)
1 parent 9aa9060 commit 5bfcc22

17 files changed

+881
-122
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@
8282
- [**BREAKING**] `--testPathPattern` is now `--testPathPatterns`
8383
- [**BREAKING**] Specifying `testPathPatterns` when programmatically calling `watch` must be specified as `new TestPathPatterns(patterns)`, where `TestPathPatterns` can be imported from `@jest/pattern`
8484
- `[jest-reporters, jest-runner]` Unhandled errors without stack get correctly logged to console ([#14619](https://github.com/jestjs/jest/pull/14619))
85+
- `[jest-worker]` Properly handle a circular reference error when worker tries to send an assertion fails where either the expected or actual value is circular ([#15191](https://github.com/jestjs/jest/pull/15191))
86+
- `[jest-worker]` Properly handle a BigInt when worker tries to send an assertion fails where either the expected or actual value is BigInt ([#15191](https://github.com/jestjs/jest/pull/15191))
8587

8688
### Performance
8789

e2e/__tests__/__snapshots__/circularInequality.test.ts.snap

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)