jest-docblock
Advanced tools
Changelog
22.4.0
[jest-haste-map]
Overhauls how Watchman crawler works fixing Windows (#5615)[expect]
Allow matching of Errors against plain objects (#5611)[jest-haste-map]
Do not read binary files in Haste, even when instructed to do so (#5612)[jest-cli]
Don't skip matchers for exact files (#5582)[docs]
Update discord links (#5586)[jest-runtime]
Align handling of testRegex on Windows between searching for tests and instrumentation checks (#5560)[jest-config]
Make it possible to merge transform
option with preset (#5505)[jest-util]
Fix console.assert
behavior in custom & buffered consoles (#5576)[docs]
Add MongoDB guide (#5571)[jest-runtime]
Deprecate mapCoverage option. (#5177)[babel-jest]
Add option to return sourcemap from the transformer separately from source. (#5177)[jest-validate]
Add ability to log deprecation warnings for CLI flags. (#5536)[jest-serializer]
Added new module for serializing. Works using V8 or JSON (#5609)[docs]
Add a documentation note for project displayName
configuration (#5600)[docs]
Update automatic mocks documentation (#5630)Changelog
jest 22.2.2
[babel-jest]
Revert "Remove retainLines from babel-jest" (#5496)[jest-docblock]
Support multiple of the same @pragma
. (#5502)[jest-worker]
Assign a unique id for each worker and pass it to the child process. It will be available via process.env.JEST_WORKER_ID
(#5494)[filenames]
Standardize file names in root (#5500)Changelog
jest 22.2.0
[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]
Add comment
option to matcherHint
function (#5437)[jest-config]
Allow lastComit and changedFilesWithAncestor via JSON config (#5476)[jest-util]
Add deletion to process.env
as well (#5466)[jest-util]
Add case-insensitive getters/setters to process.env
(#5465)[jest-mock]
Add util methods to create async functions. (#5318)[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 (``) to mock
a certain package via the __mocks__
folder. (#5426)[jest-message-util]
Prevent an ENOENT
crash when the test file contained a malformed source-map. (#5405).[jest]
Add import-local
to jest
package. (#5353)[expect]
Support class instances in .toHaveProperty()
and .toMatchObject
matcher. (#5367)[jest-cli]
Fix npm update command for snapshot summary. (#5376, 5389)[expect]
Make rejects
and resolves
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 in moduleDirectories
. Do not generate additional (invalid) paths by prepending each ancestor of cwd
to the absolute path. Additionally, this fixes functionality in Windows OS. (#5398)[jest-util]
Implement watch plugins (#5399)Changelog
jest 22.1.0
[jest-cli]
Make Jest exit without an error when no tests are found in the case of --lastCommit
, --findRelatedTests
, or --onlyChanged
options having been passed to the CLI[jest-cli]
Add interactive snapshot mode (#3831)[jest-cli]
Use import-local
to support global Jest installations. (#5304)[jest-runner]
Fix memory leak in coverage reporting (#5289)[docs]
Update mention of the minimal version of node supported (#4947)[jest-cli]
Fix missing newline in console message (#5308)[jest-cli]
--lastCommit
and --changedFilesWithAncestor
now take effect even when --onlyChanged
is not specified. (#5307)[filenames]
Standardize folder names under integration-tests/
(#5298)