jest-mock
30.5.2 · 18 Sep 2026MIT94.8M / weekRepositoryHomepagenpmAtom feed
27.5.1 is the newest release of 27.x.
In short
1 deprecated1 new6 fixed1 internal
- Deprecated
@jest/types: Mark deprecated configuration options as
@deprecated
Release note
Features
jest-config: Warn when multiple Jest configs are located
Fixes
expect: Pass matcher context to asymmetric matchers (#11926 & #11930)
expect: Improve TypeScript types
expect: Improve typings of
toThrow()andtoThrowError()matchersjest-cli: Improve
--helpprintout by removing defunct--browseroptionjest-haste-map: Use distinct cache paths for different values of
computeDependencies@jest/reporters: Do not buffer
console.logs when using verbose reporter
Chore & Maintenance
- Deprecated
@jest/types: Mark deprecated configuration options as
@deprecated
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.