jest-util
30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed
In short
7 new2 fixed5 changed
Release note
Jest is now also published in the
jestpackage on npm.Added
testRegexto match for tests outside of specific folders. Deprecated bothtestDirectoryNameandtestFileExtensions.itcan now return a Promise for async testing.pitwas deprecated.Added
jest-resolveas a standalone package based on the Facebook module resolution algorithm.Added
jest-changed-filesas a standalone package to detect changed files in a git or hg repo.Added
--setupTestFrameworkFileto cli.Added support for coverage thresholds. See jestjs.io/docs/en/configuration.
Updated to jsdom 9.0.
Updated and improved stack trace reporting.
Added
module.filenameand removed the invalidmodule.__filenamefield.Further improved the
lastCalledWithandtoBeCalledWithcustom matchers. They now print the most recent calls.Fixed jest-haste-map on continuous integration systems.
Fixes for hg/git integration.
Added a re-try for the watchman crawler.