jest-mock
30.5.2 · 18 Sep 2026MIT94.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jest-mock From 18.0.0 to 19.0.0
1 release in betweenevery note read
- 5
- changes to make
- 0
- advisories fixed
- 15
- new
- 14
- fixes
Before you upgrade
Tick each one off as you go- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
Release by release
- Breaking
Added a version for snapshots.
- Breaking
Removed the
mocksPatternconfiguration option, it never worked correctly. - Breaking
Renamed
testPathDirstorootsto avoid confusion when configuring Jest. - Breaking
Updated printing of React elements to cause fewer changes when props change.
- Breaking
7 other lines we could not sort, mostly version bumps
- 19.0.0
Improved
babel-jestplugin: babel is loaded lazily, istanbul comments are only added when coverage is used. - 19.0.0
Improved error for invalid transform config.
- 19.0.0
Improved moduleNameMapper to not overwrite mocks when many patterns map to the same file.
- 19.0.0
Improved printing of skipped tests in verbose mode.
- 19.0.0
Improved resolution code in jest-resolve.
- 19.0.0
Improved to only show patch marks in assertion errors when the comparison results in large objects.
- 19.0.0
Rewritten watch mode for instant feedback, better code quality and to build new features on top of it (#2362).
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.