- 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
scriptPreprocessor
with the newtransform
option. - Added
jest.resetAllMocks
which 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.
.babelrc
is 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
. --json
now includes information about individual tests inside a file.