jest
30.5.2 · 18 Sep 2026MIT62.9M / weekRepositoryHomepagenpmAtom feed
Upgrading jest From 23.1.0 to 23.6.0
7 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
jest-cli: Add
changedSinceto allowed watch mode configs - New
babel-jest: Add support for
babel.config.jsadded in Babel 7.0.0 - New
jest-resolve: Add support for an experimental
mapperoption (Watchman crawler only) that adds virtual files to the Haste map - Fixed
jest-resolve: Only resolve realpath once in try-catch
- New
- New
jest-cli: Add package name to
NotifyReporternotification - New
jest-runner: Print stack trace when
process.exitis called from user code - New
jest-each: Introduces
%#option to add index of the test to its title - New
pretty-format: Support serializing
DocumentFragment
- New
- New
jest-changed-files: Limit git and hg commands to specified roots
- Fixed
jest-circus: Fix retryTimes so errors are reset before re-running
- Fixed
babel-jest: Make
getCacheKey()take into accountcreateTransformeroptions - Fixed
jest-jasmine2: Use prettier through
requireinstead oflocalRequire. FixesmatchInlineSnapshotwhere prettier dependencies likepathandfsare mocked withjest.mock. - Fixed
website: Fix website versions page to link to correct language
- Fixed
expect: Update
toContainsuggestion to contain equal message
- New
- New
jest-cli: Watch plugins now have access to a broader range of global configuration options in their
updateConfigAndRuncallbacks, so they can provide a wider set of extra features - New
jest-snapshot:
babel-traverseis now passed tojest-snapshotexplicitly to avoid unnecessary requires in every test - Fixed
jest-haste-map: Optimize watchman crawler by using
globon initial query - Fixed
pretty-format: Fix formatting of invalid Date objects
- New
- New
jest-haste-map: Add
computeDependenciesflag to avoid opening files if not needed - New
jest-runtime: Support
require.resolve.paths - New
jest-runtime: Support
pathsoption forrequire.resolve - Fixed
jest-runner: Force parallel runs for watch mode, to avoid TTY freeze
- New
- New
jest-cli: Allow watch plugin to be configured
- New
jest-snapshot: Introduce
toMatchInlineSnapshotandtoThrowErrorMatchingInlineSnapshotmatchers - Fixed
jest-regex-util: Improve handling already escaped path separators on Windows
- Fixed
jest-cli: Fix
testNamePatternvalue with interactive snapshots - Fixed
jest-cli: Fix enter to interrupt watch mode
- New
- New
jest-each: Add support for keyPaths in test titles
- New
jest-cli: Add
jest --initoption that generates a basic configuration file with a short description for each option - New
jest.retryTimes: Add
jest.retryTimes()option that allows failed tests to be retried n-times when using jest-circus. - New
jest-cli: Add check to make sure one or more tests have run before notifying when using
--notify
- New
20 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.