babel-jest
30.5.2 · 18 Sep 2026MIT71.6M / weekRepositoryHomepagenpmAtom feed
Upgrading babel-jest From 17.0.2 to 18.0.0
1 release in betweenevery note read
Release by release
- new
Added
expect.any,expect.anything,expect.objectContaining,expect.arrayContaining,expect.stringMatching. - new
Added
jest-editor-supportfor vscode and Nuclide integration. - new
Added
expect.assertions(number)which will ensure that a specified amount of assertions is made in one test. - new
Added
.toMatchSnapshot(?string)feature to give snapshots a name.
- new
19 other lines we could not sort, mostly version bumps
- 18.0.0
The testResultsProcessor function is now required to return the modified results.
- 18.0.0
Removed
pitandmockImpl. UseitormockImplementationinstead. - 18.0.0
pretty-formatis now merged into Jest. - 18.0.0
require('v8')now works properly in a test context. - 18.0.0
Jest now clears the entire scrollback in watch mode.
- 18.0.0
Properly resolve
snapshotSerializers,setupFiles,transform,testRunnerandtestResultsProcessorinstead of usingpath.resolve. - 18.0.0
--testResultsProcessoris now exposed through the cli. - 18.0.0
Renamed
--jsonOutputFileto--outputFile. - 18.0.0
The Jest website is now auto-deployed when merging into master.
- 18.0.0
Updated
testRegexto includetest.jsandspec.jsfiles.