jest-snapshot
Advanced tools
Changelog
jest 20.0.1
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)Changelog
jest 19.0.1
--watch
with --coverage
.watchman
config option.Changelog
jest 19.0.0
mocksPattern
configuration option, it never worked correctly.testPathDirs
to roots
to avoid confusion when configuring Jest.babel-plugin-jest-hoist
to work properly with type annotations in tests.toMatchObject
.--bail
behavior.babel-jest
plugin: babel is loaded lazily, istanbul comments are only added when coverage is used.--collectCoverageFrom
cli argument.--coverageDirectory
cli argument.expect.addSnapshotSerializer
to add custom snapshot serializers for tests.jest.spyOn
.testMatch
configuration option that accepts glob patterns.__mocks__/react-native/Library/Text.js
will now work as expected.--notify
.Changelog
jest 18.1.0
context
variable.-h
as alias for --help
.