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 Pull Request updates dependency jest from
v22.1.4
tov22.2.1
Release Notes
v22.2.0
Features
[jest-runner]
Move test summary to after coverage report(#4512)
[jest-cli]
Added--notifyMode
to specify when to be notified.(#5125)
[diff-sequences]
New package compares items in two sequences to find alongest common subsequence.
(#5407)
[jest-config]
Allow lastComit and changedFilesWithAncestor via JSON config(#5476)
[jest-util]
Add deletion toprocess.env
as well(#5466)
[jest-util]
Add case-insensitive getters/setters toprocess.env
(#5465)
[jest-mock]
Add util methods to create async functions.(#5318)
Fixes
[jest-cli]
Add trailing slash when checking root folder(#5464)
[jest-cli]
Hide interactive mode if there are no failed snapshot tests(#5450)
[babel-jest]
Remove retainLines from babel-jest(#5326)
[jest-cli]
Glob patterns ignore non-require
-able files (e.g.README.md
)(#5199)
[jest-mock]
Add backticks support (``) tomock
a certain package via the__mocks__
folder. (#5426)[jest-message-util]
Prevent anENOENT
crash when the test file contained amalformed source-map. (#5405).
[jest]
Addimport-local
tojest
package.(#5353)
[expect]
Support class instances in.toHaveProperty()
matcher.(#5367)
[jest-cli]
Fix npm update command for snapshot summary.(#5376,
5389)
[expect]
Makerejects
andresolves
synchronously validate its argument.(#5364)
[docs]
Add tutorial page for ES6 class mocks.(#5383)
[jest-resolve]
Search required modules in node_modules and then in custompaths. (#5403)
[jest-resolve]
Get builtin modules from node core.(#5411)
[jest-resolve]
Detect and preserve absolute paths inmoduleDirectories
. Donot generate additional (invalid) paths by prepending each ancestor of
cwd
to the absolute path. Additionally, this fixes functionality in Windows OS.
(#5398)
Chore & Maintenance
[jest-util]
Implement watch plugins(#5399)
v22.2.1
Fixes
[jest-config]
"all" takes precedence over "lastCommit"(#5486)
Commits
v22.2.0
4da1417
Release v22.1.4b19f977
fix(jest):import-local
should be used in main jest pakage (#5353)d82c1c2
Adjust flow type for accessType parameter in spyOn function (#5354)36c705b
Fix link to babel setup doc from webpack doc (#5355)139f976
Adding async versions of mockReturnValue & mockreturnValueOnce (#5318)cfce36c
fix: Support class instances in .toHaveProperty() matcher (#5367)fec36ae
Bumpnode-notifier
to fix a memory leak issue (fixes #5365) (#5366)be66ccc
fix(jest-cli): fix typo in options when spawning workers (#5374)c8de0c8
Added some languages to missing markdown fencing blocks (#5378)79086ee
mockRejectedValueOnce -> mockResolveValueOnce (#5373)a10288f
docs: replace preset-es2015 with preset-env (#5385)4080d98
Fix npm update command for snapshot summary (#5376)4585c73
Makerejects
andresolves
synchronous (#5364)c243f67
Document class mocks (#5383)ac7c3b1
Update README.md (#5319)922b037
Add title clickable to go to spyOn accessType for API doc (#5404)0816692
Update Es6ClassMocks.md (#5402)0110101
Load modules from node_modules before custom paths (#5403)2167439
Add summary_reporter.test.js (#5389)0e55c7c
Use yarn v1.3.2 for AppVeyor CI build (#5410)2f0dec5
Prevent a ENOENT crash by checking for file existence in jest-message-util (#5405)ffb3be8
fix: get builtin modules from node core (#5411)1f6e35c
fix: absolute paths inmoduleDirectories
are invalid in Windows OS (#5398)03bf2a9
chore: Use Flow 0.64.0 (#5419)c885f41
Fixed the bug where mocking a file with the filename resolved as backticks would fail (#5426)dea270b
Filter non-JS files fromrequire
when using glob with --projects (#5412)6635d93
Remove retainLines from babel-jest (#5439)a7126de
Correct changelog link, remove retainLines from ./.babelrc (#5442)d743fec
Update PR template to use headings (#5443)4ceed46
Fix recursive process.exit calls (#5445)fece4be
Docs: Fix link to Webpack guide (#5447)884b95d
docs: use AmE spelling of behavior (#5453)28631fa
Update Webpack URL (#5454)1fda501
Fix master, add back retainLines (#5449)a24204a
Hide interactive mode if there are no failed snapshot tests (#5450)af09be8
Add a trailing slash to the root pattern (#5464)ae3d55e
Make "process.env" case insensitive in Windows (#5465)d6781c3
Update docs (#5467)5229f35
Support deletion in process.env too (#5466)bda02e6
Docs: Adding Suggested Badge (#5438) (#5458)4561959
[Proposal] Watch plugins API (#5399)faf8883
jest-haste-map: fork watchman watcher from sane to enable custom features (#5387)a94d130
Make lastCommit and changedFilesWithAncestor work through config (#5476)8fb789c
Improve description line when assertion fails: part 1 (#5437)ad91d0a
Add diff-sequences package (#5407)1947496
Created --notifyMode option for notifications on certain events (#5125)e4d03fb
Move test summary to after coverage report #4104 (#4512)3b78f3c
Update website talks. (#5483)v22.2.1
79dcdd3
Release v22.2.0c9634d0
Add changelog for move test summary to after coverage report(issue_4104) (#5487)87cd2ff
Let "--all" override "--onlyChanged" (#5486)766ce1a
ChangelogThis PR has been generated by Renovate Bot.