Update dependency jest to v22.2.1 #24
Merged
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.4tov22.2.1Release Notes
v22.2.0Features
[jest-runner]Move test summary to after coverage report(#4512)
[jest-cli]Added--notifyModeto 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.envas 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 (``) tomocka certain package via the__mocks__folder. (#5426)[jest-message-util]Prevent anENOENTcrash when the test file contained amalformed source-map. (#5405).
[jest]Addimport-localtojestpackage.(#5353)
[expect]Support class instances in.toHaveProperty()matcher.(#5367)
[jest-cli]Fix npm update command for snapshot summary.(#5376,
5389)
[expect]Makerejectsandresolvessynchronously 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
cwdto the absolute path. Additionally, this fixes functionality in Windows OS.
(#5398)
Chore & Maintenance
[jest-util]Implement watch plugins(#5399)
v22.2.1Fixes
[jest-config]"all" takes precedence over "lastCommit"(#5486)
Commits
v22.2.0
4da1417Release v22.1.4b19f977fix(jest):import-localshould be used in main jest pakage (#5353)d82c1c2Adjust flow type for accessType parameter in spyOn function (#5354)36c705bFix link to babel setup doc from webpack doc (#5355)139f976Adding async versions of mockReturnValue & mockreturnValueOnce (#5318)cfce36cfix: Support class instances in .toHaveProperty() matcher (#5367)fec36aeBumpnode-notifierto fix a memory leak issue (fixes #5365) (#5366)be66cccfix(jest-cli): fix typo in options when spawning workers (#5374)c8de0c8Added some languages to missing markdown fencing blocks (#5378)79086eemockRejectedValueOnce -> mockResolveValueOnce (#5373)a10288fdocs: replace preset-es2015 with preset-env (#5385)4080d98Fix npm update command for snapshot summary (#5376)4585c73Makerejectsandresolvessynchronous (#5364)c243f67Document class mocks (#5383)ac7c3b1Update README.md (#5319)922b037Add title clickable to go to spyOn accessType for API doc (#5404)0816692Update Es6ClassMocks.md (#5402)0110101Load modules from node_modules before custom paths (#5403)2167439Add summary_reporter.test.js (#5389)0e55c7cUse yarn v1.3.2 for AppVeyor CI build (#5410)2f0dec5Prevent a ENOENT crash by checking for file existence in jest-message-util (#5405)ffb3be8fix: get builtin modules from node core (#5411)1f6e35cfix: absolute paths inmoduleDirectoriesare invalid in Windows OS (#5398)03bf2a9chore: Use Flow 0.64.0 (#5419)c885f41Fixed the bug where mocking a file with the filename resolved as backticks would fail (#5426)dea270bFilter non-JS files fromrequirewhen using glob with --projects (#5412)6635d93Remove retainLines from babel-jest (#5439)a7126deCorrect changelog link, remove retainLines from ./.babelrc (#5442)d743fecUpdate PR template to use headings (#5443)4ceed46Fix recursive process.exit calls (#5445)fece4beDocs: Fix link to Webpack guide (#5447)884b95ddocs: use AmE spelling of behavior (#5453)28631faUpdate Webpack URL (#5454)1fda501Fix master, add back retainLines (#5449)a24204aHide interactive mode if there are no failed snapshot tests (#5450)af09be8Add a trailing slash to the root pattern (#5464)ae3d55eMake "process.env" case insensitive in Windows (#5465)d6781c3Update docs (#5467)5229f35Support deletion in process.env too (#5466)bda02e6Docs: Adding Suggested Badge (#5438) (#5458)4561959[Proposal] Watch plugins API (#5399)faf8883jest-haste-map: fork watchman watcher from sane to enable custom features (#5387)a94d130Make lastCommit and changedFilesWithAncestor work through config (#5476)8fb789cImprove description line when assertion fails: part 1 (#5437)ad91d0aAdd diff-sequences package (#5407)1947496Created --notifyMode option for notifications on certain events (#5125)e4d03fbMove test summary to after coverage report #4104 (#4512)3b78f3cUpdate website talks. (#5483)v22.2.1
79dcdd3Release v22.2.0c9634d0Add changelog for move test summary to after coverage report(issue_4104) (#5487)87cd2ffLet "--all" override "--onlyChanged" (#5486)766ce1aChangelogThis PR has been generated by Renovate Bot.