Changelog
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).*
> ## 24.1.0
>
> ### Features
>
> - `[jest-resolve]`: Pass default resolver into custom resolvers ([#7714](https://github-redirect.dependabot.com/facebook/jest/pull/7714))
> - `[jest-cli]`: `global{Setup,Teardown}` use default export with es modules ([#7750](https://github-redirect.dependabot.com/facebook/jest/pull/7750))
> - `[jest-runtime]` Better error messages when the jest environment is used after teardown by async code ([#7756](https://github-redirect.dependabot.com/facebook/jest/pull/7756))
> - `[jest-jasmine2]` Will now only execute at most 5 concurrent tests _within the same testsuite_ when using `test.concurrent` ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770))
> - `[jest-circus]` Same as `[jest-jasmine2]`, only 5 tests will run concurrently by default ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770))
> - `[jest-config]` A new `maxConcurrency` option allows to change the number of tests allowed to run concurrently ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770))
>
> ### Fixes
>
> - `[jest-runtime]` Fix for mocks not working with module name mapper ([#7787](https://github-redirect.dependabot.com/facebook/jest/pull/7787))
> - `[jest-cli]` Break dependency cycle when using Jest programmatically ([#7707](https://github-redirect.dependabot.com/facebook/jest/pull/7707))
> - `[jest-config]` Extract setupFilesAfterEnv from preset ([#7724](https://github-redirect.dependabot.com/facebook/jest/pull/7724))
> - `[jest-cli]` Do not execute any `globalSetup` or `globalTeardown` if there are no tests to execute ([#7745](https://github-redirect.dependabot.com/facebook/jest/pull/7745))
> - `[jest-runtime]` Lock down version of `write-file-atomic` ([#7725](https://github-redirect.dependabot.com/facebook/jest/pull/7725))
> - `[jest-cli]` Print log entries when logging happens after test environment is torn down ([#7731](https://github-redirect.dependabot.com/facebook/jest/pull/7731))
> - `[jest-config]` Do not use a uuid as `name` since that breaks caching ([#7746](https://github-redirect.dependabot.com/facebook/jest/pull/7746))
> - `[jest-config]` Make sure `normalize` can consume `Defaults` without warnings ([#7742](https://github-redirect.dependabot.com/facebook/jest/pull/7742))
> - `[jest-config]` Allow `moduleFileExtensions` without 'js' for custom runners ([#7751](https://github-redirect.dependabot.com/facebook/jest/pull/7751))
> - `[jest-cli]` Load transformers before installing require hooks ([#7752](https://github-redirect.dependabot.com/facebook/jest/pull/7752)
> - `[jest-cli]` Handle missing `numTodoTests` in test results ([#7779](https://github-redirect.dependabot.com/facebook/jest/pull/7779))
> - `[jest-runtime]` Exclude setup/teardown files from coverage report ([#7790](https://github-redirect.dependabot.com/facebook/jest/pull/7790)
> - `[babel-jest]` Throw an error if `babel-jest` tries to transform a file ignored by Babel ([#7797](https://github-redirect.dependabot.com/facebook/jest/pull/7797))
> - `[babel-plugin-jest-hoist]` Ignore TS type references when looking for out-of-scope references ([#7799](https://github-redirect.dependabot.com/facebook/jest/pull/7799)
>
> ### Chore & Maintenance
>
> - `[jest]` Update jest-junit to ^6.2.1 ([#7739](https://github-redirect.dependabot.com/facebook/jest/pull/7739))
> - `[website]` Fix broken help link on homepage ([#7706](https://github-redirect.dependabot.com/facebook/jest/pull/7706))
> - `[docs]` Changed Babel setup documentation to correctly compile `async/await` ([#7701](https://github-redirect.dependabot.com/facebook/jest/pull/7701))
>
> ## 24.0.0
>
> ### Features
>
> - `[jest-each]` [**BREAKING**] Add primitive pretty printing for interpolated titles ([#7694](https://github-redirect.dependabot.com/facebook/jest/pull/7694))
> - `[jest-runtime]` Add `jest.isolateModules` for scoped module initialization ([#6701](https://github-redirect.dependabot.com/facebook/jest/pull/6701))
> - `[jest-diff]` [**BREAKING**] Support diffing numbers and booleans instead of returning null for different ones ([#7605](https://github-redirect.dependabot.com/facebook/jest/pull/7605))
> - `[jest-diff]` [**BREAKING**] Replace `diff` with `diff-sequences` package ([#6961](https://github-redirect.dependabot.com/facebook/jest/pull/6961))
> - `[jest-cli]` [**BREAKING**] Only set error process error codes when they are non-zero ([#7363](https://github-redirect.dependabot.com/facebook/jest/pull/7363))
> - `[jest-config]` [**BREAKING**] Deprecate `setupTestFrameworkScriptFile` in favor of new `setupFilesAfterEnv` ([#7119](https://github-redirect.dependabot.com/facebook/jest/pull/7119))
> - `[jest-worker]` [**BREAKING**] Add functionality to call a `setup` method in the worker before the first call and a `teardown` method when ending the farm ([#7014](https://github-redirect.dependabot.com/facebook/jest/pull/7014))
> - `[jest-config]` [**BREAKING**] Set default `notifyMode` to `failure-change` ([#7024](https://github-redirect.dependabot.com/facebook/jest/pull/7024))
> - `[jest-haste-map]` [**BREAKING**] Remove support for `[**providesModule**](https://github.com/providesModule)` ([#6104](https://github-redirect.dependabot.com/facebook/jest/pull/6104))
> - `[jest-haste-map]` [**BREAKING**] Replace internal data structures to improve performance ([#6960](https://github-redirect.dependabot.com/facebook/jest/pull/6960))
> - `[jest-haste-map]` [**BREAKING**] Use relative paths to allow remote caching ([#7020](https://github-redirect.dependabot.com/facebook/jest/pull/7020))
> - `[jest-haste-map]` [**BREAKING**] Remove name from hash in `HasteMap.getCacheFilePath` ([#7218](https://github-redirect.dependabot.com/facebook/jest/pull/7218))
> ... (truncated)
Commits
- [`8a2ea1e`](https://github.com/facebook/jest/commit/8a2ea1e83845497fa7756b44c91f6ff97eb02692) Release 24.1.0
- [`b167892`](https://github.com/facebook/jest/commit/b16789230fd45056a7f2fa199bae06c7a1780deb) fix: ignore TS type references when looking for out-of-scope references ([#7799](https://github-redirect.dependabot.com/facebook/jest/issues/7799))
- [`5a81a09`](https://github.com/facebook/jest/commit/5a81a09b2561ece2fb9ce5380de1d8d78de12f7d) fix: make babel-jest warn when file to tarnsform is ignored by babel ([#7797](https://github-redirect.dependabot.com/facebook/jest/issues/7797))
- [`012820e`](https://github.com/facebook/jest/commit/012820ee00af31da1767acfec3c29821dfab5e49) Exclude setup files from coverage ([#7790](https://github-redirect.dependabot.com/facebook/jest/issues/7790))
- [`74ae342`](https://github.com/facebook/jest/commit/74ae342b28de957c0d3cf42545cfcf17bd172e4f) Addressing malfunctioning code snippet. ([#7789](https://github-redirect.dependabot.com/facebook/jest/issues/7789))
- [`c6c60f5`](https://github.com/facebook/jest/commit/c6c60f5261a02a36b8453a1ffa339d5b2ca90e12) sync Getting Started docs to readme ([#7782](https://github-redirect.dependabot.com/facebook/jest/issues/7782))
- [`ab64cc8`](https://github.com/facebook/jest/commit/ab64cc836c127b83b86511db4095449522fe4125) Fix for mocks not working with module name mapper ([#7787](https://github-redirect.dependabot.com/facebook/jest/issues/7787))
- [`006b0b9`](https://github.com/facebook/jest/commit/006b0b992475e65f004ab8f8798e3f699ea9529d) chore: add missing preset--env transform to typescript example
- [`a61ac1d`](https://github.com/facebook/jest/commit/a61ac1dfd997218d832ff0301e8c397f0dd7ab46) Fix broken link for inline snapshots ([#7785](https://github-redirect.dependabot.com/facebook/jest/issues/7785))
- [`4ea8462`](https://github.com/facebook/jest/commit/4ea8462fc014de6b1c8aecfa77052e20f28fa1a5) fix: handle missing todo in test result ([#7779](https://github-redirect.dependabot.com/facebook/jest/issues/7779))
- Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.6.0...v24.1.0)
Maintainer changes
This version was pushed to npm by [rubennorte](https://www.npmjs.com/~rubennorte), a new releaser for jest since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will not automatically merge this PR because it includes a major update to a development dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps jest from 23.6.0 to 24.1.0.
Changelog
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).* > ## 24.1.0 > > ### Features > > - `[jest-resolve]`: Pass default resolver into custom resolvers ([#7714](https://github-redirect.dependabot.com/facebook/jest/pull/7714)) > - `[jest-cli]`: `global{Setup,Teardown}` use default export with es modules ([#7750](https://github-redirect.dependabot.com/facebook/jest/pull/7750)) > - `[jest-runtime]` Better error messages when the jest environment is used after teardown by async code ([#7756](https://github-redirect.dependabot.com/facebook/jest/pull/7756)) > - `[jest-jasmine2]` Will now only execute at most 5 concurrent tests _within the same testsuite_ when using `test.concurrent` ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770)) > - `[jest-circus]` Same as `[jest-jasmine2]`, only 5 tests will run concurrently by default ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770)) > - `[jest-config]` A new `maxConcurrency` option allows to change the number of tests allowed to run concurrently ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770)) > > ### Fixes > > - `[jest-runtime]` Fix for mocks not working with module name mapper ([#7787](https://github-redirect.dependabot.com/facebook/jest/pull/7787)) > - `[jest-cli]` Break dependency cycle when using Jest programmatically ([#7707](https://github-redirect.dependabot.com/facebook/jest/pull/7707)) > - `[jest-config]` Extract setupFilesAfterEnv from preset ([#7724](https://github-redirect.dependabot.com/facebook/jest/pull/7724)) > - `[jest-cli]` Do not execute any `globalSetup` or `globalTeardown` if there are no tests to execute ([#7745](https://github-redirect.dependabot.com/facebook/jest/pull/7745)) > - `[jest-runtime]` Lock down version of `write-file-atomic` ([#7725](https://github-redirect.dependabot.com/facebook/jest/pull/7725)) > - `[jest-cli]` Print log entries when logging happens after test environment is torn down ([#7731](https://github-redirect.dependabot.com/facebook/jest/pull/7731)) > - `[jest-config]` Do not use a uuid as `name` since that breaks caching ([#7746](https://github-redirect.dependabot.com/facebook/jest/pull/7746)) > - `[jest-config]` Make sure `normalize` can consume `Defaults` without warnings ([#7742](https://github-redirect.dependabot.com/facebook/jest/pull/7742)) > - `[jest-config]` Allow `moduleFileExtensions` without 'js' for custom runners ([#7751](https://github-redirect.dependabot.com/facebook/jest/pull/7751)) > - `[jest-cli]` Load transformers before installing require hooks ([#7752](https://github-redirect.dependabot.com/facebook/jest/pull/7752) > - `[jest-cli]` Handle missing `numTodoTests` in test results ([#7779](https://github-redirect.dependabot.com/facebook/jest/pull/7779)) > - `[jest-runtime]` Exclude setup/teardown files from coverage report ([#7790](https://github-redirect.dependabot.com/facebook/jest/pull/7790) > - `[babel-jest]` Throw an error if `babel-jest` tries to transform a file ignored by Babel ([#7797](https://github-redirect.dependabot.com/facebook/jest/pull/7797)) > - `[babel-plugin-jest-hoist]` Ignore TS type references when looking for out-of-scope references ([#7799](https://github-redirect.dependabot.com/facebook/jest/pull/7799) > > ### Chore & Maintenance > > - `[jest]` Update jest-junit to ^6.2.1 ([#7739](https://github-redirect.dependabot.com/facebook/jest/pull/7739)) > - `[website]` Fix broken help link on homepage ([#7706](https://github-redirect.dependabot.com/facebook/jest/pull/7706)) > - `[docs]` Changed Babel setup documentation to correctly compile `async/await` ([#7701](https://github-redirect.dependabot.com/facebook/jest/pull/7701)) > > ## 24.0.0 > > ### Features > > - `[jest-each]` [**BREAKING**] Add primitive pretty printing for interpolated titles ([#7694](https://github-redirect.dependabot.com/facebook/jest/pull/7694)) > - `[jest-runtime]` Add `jest.isolateModules` for scoped module initialization ([#6701](https://github-redirect.dependabot.com/facebook/jest/pull/6701)) > - `[jest-diff]` [**BREAKING**] Support diffing numbers and booleans instead of returning null for different ones ([#7605](https://github-redirect.dependabot.com/facebook/jest/pull/7605)) > - `[jest-diff]` [**BREAKING**] Replace `diff` with `diff-sequences` package ([#6961](https://github-redirect.dependabot.com/facebook/jest/pull/6961)) > - `[jest-cli]` [**BREAKING**] Only set error process error codes when they are non-zero ([#7363](https://github-redirect.dependabot.com/facebook/jest/pull/7363)) > - `[jest-config]` [**BREAKING**] Deprecate `setupTestFrameworkScriptFile` in favor of new `setupFilesAfterEnv` ([#7119](https://github-redirect.dependabot.com/facebook/jest/pull/7119)) > - `[jest-worker]` [**BREAKING**] Add functionality to call a `setup` method in the worker before the first call and a `teardown` method when ending the farm ([#7014](https://github-redirect.dependabot.com/facebook/jest/pull/7014)) > - `[jest-config]` [**BREAKING**] Set default `notifyMode` to `failure-change` ([#7024](https://github-redirect.dependabot.com/facebook/jest/pull/7024)) > - `[jest-haste-map]` [**BREAKING**] Remove support for `[**providesModule**](https://github.com/providesModule)` ([#6104](https://github-redirect.dependabot.com/facebook/jest/pull/6104)) > - `[jest-haste-map]` [**BREAKING**] Replace internal data structures to improve performance ([#6960](https://github-redirect.dependabot.com/facebook/jest/pull/6960)) > - `[jest-haste-map]` [**BREAKING**] Use relative paths to allow remote caching ([#7020](https://github-redirect.dependabot.com/facebook/jest/pull/7020)) > - `[jest-haste-map]` [**BREAKING**] Remove name from hash in `HasteMap.getCacheFilePath` ([#7218](https://github-redirect.dependabot.com/facebook/jest/pull/7218)) > ... (truncated)Commits
- [`8a2ea1e`](https://github.com/facebook/jest/commit/8a2ea1e83845497fa7756b44c91f6ff97eb02692) Release 24.1.0 - [`b167892`](https://github.com/facebook/jest/commit/b16789230fd45056a7f2fa199bae06c7a1780deb) fix: ignore TS type references when looking for out-of-scope references ([#7799](https://github-redirect.dependabot.com/facebook/jest/issues/7799)) - [`5a81a09`](https://github.com/facebook/jest/commit/5a81a09b2561ece2fb9ce5380de1d8d78de12f7d) fix: make babel-jest warn when file to tarnsform is ignored by babel ([#7797](https://github-redirect.dependabot.com/facebook/jest/issues/7797)) - [`012820e`](https://github.com/facebook/jest/commit/012820ee00af31da1767acfec3c29821dfab5e49) Exclude setup files from coverage ([#7790](https://github-redirect.dependabot.com/facebook/jest/issues/7790)) - [`74ae342`](https://github.com/facebook/jest/commit/74ae342b28de957c0d3cf42545cfcf17bd172e4f) Addressing malfunctioning code snippet. ([#7789](https://github-redirect.dependabot.com/facebook/jest/issues/7789)) - [`c6c60f5`](https://github.com/facebook/jest/commit/c6c60f5261a02a36b8453a1ffa339d5b2ca90e12) sync Getting Started docs to readme ([#7782](https://github-redirect.dependabot.com/facebook/jest/issues/7782)) - [`ab64cc8`](https://github.com/facebook/jest/commit/ab64cc836c127b83b86511db4095449522fe4125) Fix for mocks not working with module name mapper ([#7787](https://github-redirect.dependabot.com/facebook/jest/issues/7787)) - [`006b0b9`](https://github.com/facebook/jest/commit/006b0b992475e65f004ab8f8798e3f699ea9529d) chore: add missing preset--env transform to typescript example - [`a61ac1d`](https://github.com/facebook/jest/commit/a61ac1dfd997218d832ff0301e8c397f0dd7ab46) Fix broken link for inline snapshots ([#7785](https://github-redirect.dependabot.com/facebook/jest/issues/7785)) - [`4ea8462`](https://github.com/facebook/jest/commit/4ea8462fc014de6b1c8aecfa77052e20f28fa1a5) fix: handle missing todo in test result ([#7779](https://github-redirect.dependabot.com/facebook/jest/issues/7779)) - Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.6.0...v24.1.0)Maintainer changes
This version was pushed to npm by [rubennorte](https://www.npmjs.com/~rubennorte), a new releaser for jest since your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will not automatically merge this PR because it includes a major update to a development dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.