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 using test.concurrent (#7770)
    • โœ… [jest-circus] Same as [jest-jasmine2], only 5 tests will run concurrently by default (#7770)
    • โœ… [jest-config] A new maxConcurrency 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 any globalSetup or globalTeardown if there are no tests to execute (#7745)
    • ๐Ÿ”’ [jest-runtime] Lock down version of write-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 as name since that breaks caching (#7746)
    • โš  [jest-config] Make sure normalize can consume Defaults without warnings (#7742)
    • [jest-config] Allow moduleFileExtensions without 'js' for custom runners (#7751)
    • [jest-cli] Load transformers before installing require hooks (#7752)
    • โœ… [jest-cli] Handle missing numTodoTests in test results (#7779)
    • [jest-runtime] Exclude setup/teardown files from coverage report (#7790)
    • [babel-jest] Throw an error if babel-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

    • โšก๏ธ [jest] Update jest-junit to 6.2.1 (#7739)
    • [website] Fix broken help link on homepage (#7706)
    • ๐Ÿ“š [docs] Changed Babel setup documentation to correctly compile async/await (#7701)