Releases
v12.1.0
SimenB
released this
16 Aug 08:31
Jest is now also published in the jest
package on npm.
Added testRegex
to match for tests outside of specific folders. Deprecated both testDirectoryName
and testFileExtensions
.
it
can now return a Promise for async testing. pit
was deprecated.
Added jest-resolve
as a standalone package based on the Facebook module resolution algorithm.
Added jest-changed-files
as a standalone package to detect changed files in a git or hg repo.
Added --setupTestFrameworkFile
to cli.
Added support for coverage thresholds. See https://jestjs.io/docs/en/configuration#coveragethreshold-object .
Updated to jsdom 9.0.
Updated and improved stack trace reporting.
Added module.filename
and removed the invalid module.__filename
field.
Further improved the lastCalledWith
and toBeCalledWith
custom 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.
You can’t perform that action at this time.