@jest/environment
30.5.2 · 18 Sep 2026MIT80.2M / weekRepositoryHomepagenpmAtom feed
In short
2 new1 faster3 fixed1 internal
Release note
Features
create-jest: Add
npm init/yarn createinitialiser for Jest projectsjest-validate: Allow deprecation warnings for unknown options
Fixes
jest-resolver: Replace unmatched capture groups in
moduleNameMapperwith empty string instead ofundefinedjest-snapshot: Allow for strings as well as template literals in inline snapshots
@jest/test-sequencer: Calculate test runtime if
perStats.durationis missing
Performance
@jest/create-cache-key-function: Cache access of
NODE_ENVandBABEL_ENV
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.