v29.4.3
Features
[expect]
UpdatetoThrow()
to be able to use errorcause
s (#13606)[jest-core]
allow to useworkerIdleMemoryLimit
with only 1 worker orrunInBand
option (#13846)[jest-message-util]
Add support for errorcause
s (#13868 & #13912)[jest-runtime]
Revertimport assertions
for JSON modules as it's been relegated to Stage 2 (#13911)
Fixes
[@jest/expect-utils]
subsetEquality
should consider also an object's inherited string keys (#13824)[jest-mock]
Clear mock state whenjest.restoreAllMocks()
is called (#13867)[jest-mock]
PreventmockImplementationOnce
andmockReturnValueOnce
bleeding intowithImplementation
(#13888)[jest-mock]
Do not restore mocks whenjest.resetAllMocks()
is called (#13866)
New Contributors
- @brodo made their first contribution in #13868
- @DannyNemer made their first contribution in #13878
- @ghusse made their first contribution in #13846
- @broofa made their first contribution in #13911
Full Changelog: v29.4.2...v29.4.3