Skip to content

Commit

Permalink
fix(jest-worker): hangs caused by failed assertions with circular val…
Browse files Browse the repository at this point in the history
…ues (#15191)
  • Loading branch information
DmitryMakhnev authored Jul 23, 2024
1 parent 9aa9060 commit 5bfcc22
Show file tree
Hide file tree
Showing 17 changed files with 881 additions and 122 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
- [**BREAKING**] `--testPathPattern` is now `--testPathPatterns`
- [**BREAKING**] Specifying `testPathPatterns` when programmatically calling `watch` must be specified as `new TestPathPatterns(patterns)`, where `TestPathPatterns` can be imported from `@jest/pattern`
- `[jest-reporters, jest-runner]` Unhandled errors without stack get correctly logged to console ([#14619](https://github.com/jestjs/jest/pull/14619))
- `[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))
- `[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))

### Performance

Expand Down
53 changes: 0 additions & 53 deletions e2e/__tests__/__snapshots__/circularInequality.test.ts.snap

This file was deleted.

Loading

0 comments on commit 5bfcc22

Please sign in to comment.