@jest/environment
30.5.2 · 18 Sep 2026MIT80.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/environment From 29.6.0 to 29.7.0
5 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 4
- new
- 15
- fixes
Before you upgrade
Tick each one off as you go- Breaking29.6.3
- Breaking29.6.1
Release by release
- New
create-jest: Add
npm init/yarn createinitialiser for Jest projects - New
jest-validate: Allow deprecation warnings for unknown options
- New
@jest/create-cache-key-function: Cache access of
NODE_ENVandBABEL_ENV - Fixed
jest-resolver: Replace unmatched capture groups in
moduleNameMapperwith empty string instead ofundefined - Fixed
jest-snapshot: Allow for strings as well as template literals in inline snapshots
- Fixed
@jest/test-sequencer: Calculate test runtime if
perStats.durationis missing
- New
- Fixed
jest-environment-node: Make sure
atobandbtoaare writeable in Node 20 - Fixed
jest-worker: Additional error wrapper for
parentPort.postMessageto fix unhandledDataCloneError.
- Fixed
- Breaking
jest-mock: Revert #13692 as it was a breaking change
- Fixed
expect, @jest/expect-utils:
ObjectContainingsupportsymbolas key - Fixed
expect: Remove
@types/nodefrom dependencies - Fixed
- Fixed
jest-reporters: Update
istanbul-lib-instrumentdependency to v6. - Fixed
@jest/reporters: Marks Reporter's hooks as optional
- Fixed
jest-runtime: Fix dynamic ESM import module bug when loaded module through
jest.isolateModulesAsync
- Breaking
- New
jest-reporters: Add "skipped" and "todo" symbols to Github Actions Reporter
- Fixed
jest-circus: Fix snapshot matchers in concurrent tests when nr of tests exceeds
maxConcurrency - Fixed
@jest/core: When running global setup and teardown, do not try to change the
messageproperty of the thrown error object when themessageproperty is unwritable - Fixed
jest-snapshot: Move
@types/prettierfromdependenciestodevDependencies - Fixed
jest-snapshot: Throw an explicit error if Prettier v3 is used
- New
4 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.