Update dependency jest-cli to v16 - autoclosed #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
15.1.1
->16.0.0
By merging this PR, the issue #7 will be automatically resolved and closed:
Release Notes
facebook/jest
v16.0.0
Compare Source
jest <pattern>
is now case-insensitive.it.only
,it.skip
,test.only
,test.skip
andxtest
.--testNamePattern=pattern
or-t <pattern>
to run individual tests in test files.a
,o
,p
,q
orenter
while tests are running in the watch mode, the test run will be interrupted.--bail
now works together with--watch
.test.concurrent
for concurrent async tests..jsx
extension.jest.clearAllMocks
to clear all mocks manually.jest-snapshot
can now be more easily integrated into other test runners and used in other projects.fit
or when an error is thrown in a test.toHaveBeenLastCalledWith
,toHaveBeenCalledWith
,lastCalledWith
andtoBeCalledWith
failure messages.toBeInstanceOf
matcher.toContainEqual
matcher.toThrowErrorMatchingSnapshot
matcher.moduleNameMapper
resolution.setupTestFrameworkScriptFile
script to make it easier to use chai together with Jest.--findRelatedTests <fileA> <fileB>
cli option to run tests related to the specified files.jest.deepUnmock
tobabel-plugin-jest-hoist
.jest.runTimersToTime
which is useful together with fake timers.