jest-util
30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed
17.0.2 is the newest release of 17.x.
In short
4 new3 fixed8 changed
Release note
Added
expect.extend.Properly resolve modules with platform extensions on react-native.
Added support for custom snapshots serializers.
Updated to Jasmine 2.5.2.
Big diffs are now collapsed by default in snapshots and assertions. Added
--expand(or-e) to show the full diff.Replaced
scriptPreprocessorwith the newtransformoption.Added
jest.resetAllMockswhich replacesjest.clearAllMocks.Fixes for react-native preset.
Fixes for global built in objects in
jest-environment-node.Create mock objects in the vm context instead of the parent context.
.babelrcis now part of the transform cache key inbabel-jest.Fixes for docblock parsing with haste modules.
Exit with the proper code when the coverage threshold is not reached.
Implemented file watching in
jest-haste-map.--jsonnow includes information about individual tests inside a file.