babel-jest
30.5.2 · 18 Sep 2026MIT71.6M / weekRepositoryHomepagenpmAtom feed
Upgrading babel-jest From 16.0.0 to 17.0.0
1 release in betweenevery note read
Release by release
- new
Added
expect.extend. - new
Added support for custom snapshots serializers.
- new
Added
jest.resetAllMockswhich replacesjest.clearAllMocks. - new
Implemented file watching in
jest-haste-map. - fixed
Fixes for react-native preset.
- fixed
Fixes for global built in objects in
jest-environment-node. - fixed
Fixes for docblock parsing with haste modules.
- new
8 other lines we could not sort, mostly version bumps
- 17.0.0
Properly resolve modules with platform extensions on react-native.
- 17.0.0
Updated to Jasmine 2.5.2.
- 17.0.0
Big diffs are now collapsed by default in snapshots and assertions. Added
--expand(or-e) to show the full diff. - 17.0.0
Replaced
scriptPreprocessorwith the newtransformoption. - 17.0.0
Create mock objects in the vm context instead of the parent context.
- 17.0.0
.babelrcis now part of the transform cache key inbabel-jest. - 17.0.0
Exit with the proper code when the coverage threshold is not reached.
- 17.0.0
--jsonnow includes information about individual tests inside a file.