jest-snapshot
Advanced tools
Changelog
jest 13.1.0
test
global function as an alias for it
.coveragePathIgnorePatterns
to the config.--verbose
option and top level it
calls.require('jest-check')
.jest.deepUnmock
.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 20.0.0
--projects
option to run one instance of Jest in multiple projects at the same time. (#3400)expect
matchers through .resolves
and .rejects
. (#3068)expect.hasAssertions()
function similar to expect.assertions()
. (#3379)this.equals
function exposed to custom matchers. (#3469)valid-expect
lint rule in eslint-plugin-jest
. (#3067)@jest-environment
in the docblock. (#2859)reporters
in the configuration. (#3349)jest-editor-support
into a separate jest-test-typescript-parser
package. (#2973)babel-jest
to look up the babel
field in package.json
as a fallback.jest-editor-support
's parser to not crash on incomplete ASTs. (#3259)jest-resolve
to use is-builtin-module
instead of resolve.isCore
. (#2997)jest-snapshot
to normalize line endings in the serialize
function. (#3002)--silent
flag. (#3003)notify
option not taking precedence over config option. (#3340)jest-editor-support
. (#3344)undefined
. (#3354)expect
. (#3306)expect.assertions
error. (#3033)jest-file-exists
. (#3105)Config
type. (#3366)jest-file-exists
. (#3101)