babel-preset-jest
Advanced tools
Changelog
jest 13.0.0
browser
config option to properly resolve npm packages with a browser field in package.json
if you are writing tests for client side appsjest-repl
.jest-cli
into jest-runtime
and jest-config
.--notify
.TestRunner
into SearchSource
and improved the "no tests found" message.jest.isMockFunction(jest.fn())
to test for mock functions.jest.mock('Module', implementation, {virtual: true})
.toMatchSnapshot()
.Changelog
jest-cli 12.1.0
jest
package on npm.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.jest-resolve
as a standalone package based on the Facebook module resolution algorithm.jest-changed-files
as a standalone package to detect changed files in a git or hg repo.--setupTestFrameworkFile
to cli.module.filename
and removed the invalid module.__filename
field.lastCalledWith
and toBeCalledWith
custom matchers. They now print the most recent calls.Changelog
jest-cli 12.0.2