v29.4.3
版本发布时间: 2023-02-15 19:58:24
jestjs/jest最新发布版本:v30.0.0-alpha.6(2024-08-08 15:46:22)
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 https://github.com/facebook/jest/pull/13868
- @DannyNemer made their first contribution in https://github.com/facebook/jest/pull/13878
- @ghusse made their first contribution in https://github.com/facebook/jest/pull/13846
- @broofa made their first contribution in https://github.com/facebook/jest/pull/13911
Full Changelog: https://github.com/facebook/jest/compare/v29.4.2...v29.4.3