jest-mock
30.5.2 · 18 Sep 2026MIT94.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jest-mock From 12.0.0 to 12.1.0
3 releases in betweennotes for 2
Release by release
- New
Added
testRegexto match for tests outside of specific folders. Deprecated bothtestDirectoryNameandtestFileExtensions. - New
Added
jest-resolveas a standalone package based on the Facebook module resolution algorithm. - New
Added
jest-changed-filesas a standalone package to detect changed files in a git or hg repo. - New
Added
--setupTestFrameworkFileto cli.
- New
12.0.1 – 12.0.22 releases, nothing new or fixed; 1 without a note
6 other lines we could not sort, mostly version bumps
- 12.1.0
Jest is now also published in the
jestpackage on npm. - 12.1.0
itcan now return a Promise for async testing.pitwas deprecated. - 12.1.0
Updated to jsdom 9.0.
- 12.1.0
Updated and improved stack trace reporting.
- 12.1.0
Further improved the
lastCalledWithandtoBeCalledWithcustom matchers. They now print the most recent calls. - 12.0.2
Bug fixes when running a single test file and for scoped package names.
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.