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 a longest common subsequence. (#5407)[jest-matcher-utils]
Addcomment
option tomatcherHint
function (#5437)[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 (#5439)[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 a malformed source-map. (#5405).[jest]
Addimport-local
tojest
package. (#5353)[expect]
Support class instances in.toHaveProperty()
and.toMatchObject
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 custom paths. (#5403)[jest-resolve]
Get builtin modules from node core. (#5411)[jest-resolve]
Detect and preserve absolute paths inmoduleDirectories
. Do not generate additional (invalid) paths by prepending each ancestor ofcwd
to the absolute path. Additionally, this fixes functionality in Windows OS. (#5398)
Chore & Maintenance
[jest-util]
Implement watch plugins (#5399)