jest-cli v24.1.0 Release Notes
Release Date: 2019-02-05 // about 5 years ago-
๐ Features
- 0๏ธโฃ
[jest-resolve]
: Pass default resolver into custom resolvers (#7714) - 0๏ธโฃ
[jest-cli]
:global{Setup,Teardown}
use default export with es modules (#7750) - ๐
[jest-runtime]
Better error messages when the jest environment is used after teardown by async code (#7756) - โ
[jest-jasmine2]
Will now only execute at most 5 concurrent tests within the same testsuite when usingtest.concurrent
(#7770) - โ
[jest-circus]
Same as[jest-jasmine2]
, only 5 tests will run concurrently by default (#7770) - โ
[jest-config]
A newmaxConcurrency
option allows to change the number of tests allowed to run concurrently (#7770)
๐ Fixes
- ๐คก
[jest-runtime]
Fix for mocks not working with module name mapper (#7787) [jest-cli]
Break dependency cycle when using Jest programmatically (#7707)[jest-config]
Extract setupFilesAfterEnv from preset (#7724)- โ
[jest-cli]
Do not execute anyglobalSetup
orglobalTeardown
if there are no tests to execute (#7745) - ๐
[jest-runtime]
Lock down version ofwrite-file-atomic
(#7725) - โ
[jest-cli]
Print log entries when logging happens after test environment is torn down (#7731) [jest-config]
Do not use a uuid asname
since that breaks caching (#7746)- โ
[jest-config]
Make surenormalize
can consumeDefaults
without warnings (#7742) [jest-config]
AllowmoduleFileExtensions
without 'js' for custom runners (#7751)[jest-cli]
Load transformers before installing require hooks (#7752)- โ
[jest-cli]
Handle missingnumTodoTests
in test results (#7779) [jest-runtime]
Exclude setup/teardown files from coverage report (#7790)[babel-jest]
Throw an error ifbabel-jest
tries to transform a file ignored by Babel (#7797)- ๐
[babel-plugin-jest-hoist]
Ignore TS type references when looking for out-of-scope references (#7799) - ๐
[expect]
fixed asymmetrical equality of cyclic objects (#7730)
๐ง Chore & Maintenance
- 0๏ธโฃ