Changelog
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).*
> ## 24.8.0
>
> ### Features
>
> - `[jest-circus]` Bind to Circus events via an optional event handler on any custom env ([#8344](https://github-redirect.dependabot.com/facebook/jest/pull/8344)
> - `[expect]` Improve report when matcher fails, part 15 ([#8281](https://github-redirect.dependabot.com/facebook/jest/pull/8281))
> - `[jest-cli]` Update `--forceExit` and "did not exit for one second" message colors ([#8329](https://github-redirect.dependabot.com/facebook/jest/pull/8329))
> - `[expect]` Improve report when matcher fails, part 16 ([#8306](https://github-redirect.dependabot.com/facebook/jest/pull/8306))
> - `[jest-runner]` Pass docblock pragmas to TestEnvironment constructor ([#8320](https://github-redirect.dependabot.com/facebook/jest/pull/8320))
> - `[docs]` Add DynamoDB guide ([#8319](https://github-redirect.dependabot.com/facebook/jest/pull/8319))
> - `[expect]` Improve report when matcher fails, part 17 ([#8349](https://github-redirect.dependabot.com/facebook/jest/pull/8349))
> - `[expect]` Improve report when matcher fails, part 18 ([#8356](https://github-redirect.dependabot.com/facebook/jest/pull/8356))
> - `[expect]` Improve report when matcher fails, part 19 ([#8367](https://github-redirect.dependabot.com/facebook/jest/pull/8367))
>
> ### Fixes
>
> - `[jest-each]` Fix bug with placeholder values ([#8289](https://github-redirect.dependabot.com/facebook/jest/pull/8289))
> - `[jest-snapshot]` Inline snapshots: do not indent empty lines ([#8277](https://github-redirect.dependabot.com/facebook/jest/pull/8277))
> - `[@jest/runtime, @jest/transform]` Allow custom transforms for JSON dependencies ([#2578](https://github-redirect.dependabot.com/facebook/jest/pull/2578))
> - `[jest-core]` Make `detectOpenHandles` imply `runInBand` ([#8283](https://github-redirect.dependabot.com/facebook/jest/pull/8283))
> - `[jest-haste-map]` Fix the `mapper` option which was incorrectly ignored ([#8299](https://github-redirect.dependabot.com/facebook/jest/pull/8299))
> - `[jest-jasmine2]` Fix describe return value warning being shown if the describe function throws ([#8335](https://github-redirect.dependabot.com/facebook/jest/pull/8335))
> - `[jest-environment-jsdom]` Re-declare global prototype of JSDOMEnvironment ([#8352](https://github-redirect.dependabot.com/facebook/jest/pull/8352))
> - `[jest-snapshot]` Handle arrays when merging snapshots ([#7089](https://github-redirect.dependabot.com/facebook/jest/pull/7089))
> - `[expect]` Extract names of async and generator functions ([#8362](https://github-redirect.dependabot.com/facebook/jest/pull/8362))
> - `[jest-runtime]` Fix virtual mocks not being unmockable after previously being mocked ([#8396](https://github-redirect.dependabot.com/facebook/jest/pull/8396))
> - `[jest-transform]` Replace special characters in transform cache filenames to support Windows ([#8353](https://github-redirect.dependabot.com/facebook/jest/pull/8353))
> - `[jest-config]` Allow exactly one project ([#7498](https://github-redirect.dependabot.com/facebook/jest/pull/7498))
>
> ### Chore & Maintenance
>
> - `[expect]` Fix label and add opposite assertion for toEqual tests ([#8288](https://github-redirect.dependabot.com/facebook/jest/pull/8288))
> - `[docs]` Mention Jest MongoDB Preset ([#8318](https://github-redirect.dependabot.com/facebook/jest/pull/8318))
> - `[@jest/reporters]` Migrate away from `istanbul-api` ([#8294](https://github-redirect.dependabot.com/facebook/jest/pull/8294))
> - `[*]` Delete obsolete emails tag from header comment in test files ([#8377](https://github-redirect.dependabot.com/facebook/jest/pull/8377))
> - `[expect]` optimize compare nodes ([#8368](https://github-redirect.dependabot.com/facebook/jest/pull/8368))
> - `[docs]` Fix typo in MockFunctionAPI.md ([#8406](https://github-redirect.dependabot.com/facebook/jest/pull/8406))
>
> ### Performance
>
> - `[jest-runtime]` Fix module registry memory leak ([#8282](https://github-redirect.dependabot.com/facebook/jest/pull/8282))
> - `[jest-resolve]` optimize resolve module path ([#8388](https://github-redirect.dependabot.com/facebook/jest/pull/8388))
> - `[jest-resolve]` cache current directory ([#8412](https://github-redirect.dependabot.com/facebook/jest/pull/8412))
> - `[jest-get-type]` Simplify checking for primitive ([#8416](https://github-redirect.dependabot.com/facebook/jest/pull/8416))
>
> ## 24.7.1
>
> ### Fixes
>
> - `[@jest/config]` Normalize `testSequencer` to its absolute path ([#8267](https://github-redirect.dependabot.com/facebook/jest/pull/8267))
> ... (truncated)
Commits
- [`1404933`](https://github.com/facebook/jest/commit/14049336beeac972b5871a2ca419df2de196dc24) Release 24.8.0
- [`845728f`](https://github.com/facebook/jest/commit/845728f24b3ef41e450595c384e9b5c9fdf248a4) [jest-get-type] Simplify checking for primitive ([#8416](https://github-redirect.dependabot.com/facebook/jest/issues/8416))
- [`13bf7c7`](https://github.com/facebook/jest/commit/13bf7c7e1f1e1826d240b2e18d8dc1e14e67567c) fixing typo in blog post: concering -> concerning ([#8414](https://github-redirect.dependabot.com/facebook/jest/issues/8414))
- [`27c4d9c`](https://github.com/facebook/jest/commit/27c4d9c5046e4ef1138b44c6e73f4f40eb74eca3) Grammar correction in Mock Function docs ([#8399](https://github-redirect.dependabot.com/facebook/jest/issues/8399))
- [`46afa44`](https://github.com/facebook/jest/commit/46afa44cfb3b934963fbba409f342f100fd19a4c) [jest-resolve] cache current directory path ([#8412](https://github-redirect.dependabot.com/facebook/jest/issues/8412))
- [`b870306`](https://github.com/facebook/jest/commit/b87030655dcaa315bf750c81cbd2b4e21a0f7bcf) Simplify workaround that overrides Jest clone folder on Azure Pipelines ([#8413](https://github-redirect.dependabot.com/facebook/jest/issues/8413))
- [`1c5d830`](https://github.com/facebook/jest/commit/1c5d8300355e7c50d528a428296e346a585a5ae8) Simple sugar text correction in Mock Function docs ([#8406](https://github-redirect.dependabot.com/facebook/jest/issues/8406))
- [`4941d12`](https://github.com/facebook/jest/commit/4941d12dd6cf1a14f49c51b5c12f957b11567d3f) fix(jest-config): Allow exactly one project ([#7498](https://github-redirect.dependabot.com/facebook/jest/issues/7498))
- [`9081612`](https://github.com/facebook/jest/commit/908161251af23cde7dcf78ba8b5acf828a59998a) Revert [#7089](https://github-redirect.dependabot.com/facebook/jest/issues/7089) and add tests to catch the regression in the future. ([#8405](https://github-redirect.dependabot.com/facebook/jest/issues/8405))
- [`a9c0e6b`](https://github.com/facebook/jest/commit/a9c0e6bd13e8686811dcbc6ab52da0ca81225de6) Cache checked files in fs ([#8388](https://github-redirect.dependabot.com/facebook/jest/issues/8388))
- Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.1.0...v24.8.0)
Maintainer changes
This version was pushed to npm by [scotthovestadt](https://www.npmjs.com/~scotthovestadt), 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 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 squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@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.1.0 to 24.8.0.
Changelog
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).* > ## 24.8.0 > > ### Features > > - `[jest-circus]` Bind to Circus events via an optional event handler on any custom env ([#8344](https://github-redirect.dependabot.com/facebook/jest/pull/8344) > - `[expect]` Improve report when matcher fails, part 15 ([#8281](https://github-redirect.dependabot.com/facebook/jest/pull/8281)) > - `[jest-cli]` Update `--forceExit` and "did not exit for one second" message colors ([#8329](https://github-redirect.dependabot.com/facebook/jest/pull/8329)) > - `[expect]` Improve report when matcher fails, part 16 ([#8306](https://github-redirect.dependabot.com/facebook/jest/pull/8306)) > - `[jest-runner]` Pass docblock pragmas to TestEnvironment constructor ([#8320](https://github-redirect.dependabot.com/facebook/jest/pull/8320)) > - `[docs]` Add DynamoDB guide ([#8319](https://github-redirect.dependabot.com/facebook/jest/pull/8319)) > - `[expect]` Improve report when matcher fails, part 17 ([#8349](https://github-redirect.dependabot.com/facebook/jest/pull/8349)) > - `[expect]` Improve report when matcher fails, part 18 ([#8356](https://github-redirect.dependabot.com/facebook/jest/pull/8356)) > - `[expect]` Improve report when matcher fails, part 19 ([#8367](https://github-redirect.dependabot.com/facebook/jest/pull/8367)) > > ### Fixes > > - `[jest-each]` Fix bug with placeholder values ([#8289](https://github-redirect.dependabot.com/facebook/jest/pull/8289)) > - `[jest-snapshot]` Inline snapshots: do not indent empty lines ([#8277](https://github-redirect.dependabot.com/facebook/jest/pull/8277)) > - `[@jest/runtime, @jest/transform]` Allow custom transforms for JSON dependencies ([#2578](https://github-redirect.dependabot.com/facebook/jest/pull/2578)) > - `[jest-core]` Make `detectOpenHandles` imply `runInBand` ([#8283](https://github-redirect.dependabot.com/facebook/jest/pull/8283)) > - `[jest-haste-map]` Fix the `mapper` option which was incorrectly ignored ([#8299](https://github-redirect.dependabot.com/facebook/jest/pull/8299)) > - `[jest-jasmine2]` Fix describe return value warning being shown if the describe function throws ([#8335](https://github-redirect.dependabot.com/facebook/jest/pull/8335)) > - `[jest-environment-jsdom]` Re-declare global prototype of JSDOMEnvironment ([#8352](https://github-redirect.dependabot.com/facebook/jest/pull/8352)) > - `[jest-snapshot]` Handle arrays when merging snapshots ([#7089](https://github-redirect.dependabot.com/facebook/jest/pull/7089)) > - `[expect]` Extract names of async and generator functions ([#8362](https://github-redirect.dependabot.com/facebook/jest/pull/8362)) > - `[jest-runtime]` Fix virtual mocks not being unmockable after previously being mocked ([#8396](https://github-redirect.dependabot.com/facebook/jest/pull/8396)) > - `[jest-transform]` Replace special characters in transform cache filenames to support Windows ([#8353](https://github-redirect.dependabot.com/facebook/jest/pull/8353)) > - `[jest-config]` Allow exactly one project ([#7498](https://github-redirect.dependabot.com/facebook/jest/pull/7498)) > > ### Chore & Maintenance > > - `[expect]` Fix label and add opposite assertion for toEqual tests ([#8288](https://github-redirect.dependabot.com/facebook/jest/pull/8288)) > - `[docs]` Mention Jest MongoDB Preset ([#8318](https://github-redirect.dependabot.com/facebook/jest/pull/8318)) > - `[@jest/reporters]` Migrate away from `istanbul-api` ([#8294](https://github-redirect.dependabot.com/facebook/jest/pull/8294)) > - `[*]` Delete obsolete emails tag from header comment in test files ([#8377](https://github-redirect.dependabot.com/facebook/jest/pull/8377)) > - `[expect]` optimize compare nodes ([#8368](https://github-redirect.dependabot.com/facebook/jest/pull/8368)) > - `[docs]` Fix typo in MockFunctionAPI.md ([#8406](https://github-redirect.dependabot.com/facebook/jest/pull/8406)) > > ### Performance > > - `[jest-runtime]` Fix module registry memory leak ([#8282](https://github-redirect.dependabot.com/facebook/jest/pull/8282)) > - `[jest-resolve]` optimize resolve module path ([#8388](https://github-redirect.dependabot.com/facebook/jest/pull/8388)) > - `[jest-resolve]` cache current directory ([#8412](https://github-redirect.dependabot.com/facebook/jest/pull/8412)) > - `[jest-get-type]` Simplify checking for primitive ([#8416](https://github-redirect.dependabot.com/facebook/jest/pull/8416)) > > ## 24.7.1 > > ### Fixes > > - `[@jest/config]` Normalize `testSequencer` to its absolute path ([#8267](https://github-redirect.dependabot.com/facebook/jest/pull/8267)) > ... (truncated)Commits
- [`1404933`](https://github.com/facebook/jest/commit/14049336beeac972b5871a2ca419df2de196dc24) Release 24.8.0 - [`845728f`](https://github.com/facebook/jest/commit/845728f24b3ef41e450595c384e9b5c9fdf248a4) [jest-get-type] Simplify checking for primitive ([#8416](https://github-redirect.dependabot.com/facebook/jest/issues/8416)) - [`13bf7c7`](https://github.com/facebook/jest/commit/13bf7c7e1f1e1826d240b2e18d8dc1e14e67567c) fixing typo in blog post: concering -> concerning ([#8414](https://github-redirect.dependabot.com/facebook/jest/issues/8414)) - [`27c4d9c`](https://github.com/facebook/jest/commit/27c4d9c5046e4ef1138b44c6e73f4f40eb74eca3) Grammar correction in Mock Function docs ([#8399](https://github-redirect.dependabot.com/facebook/jest/issues/8399)) - [`46afa44`](https://github.com/facebook/jest/commit/46afa44cfb3b934963fbba409f342f100fd19a4c) [jest-resolve] cache current directory path ([#8412](https://github-redirect.dependabot.com/facebook/jest/issues/8412)) - [`b870306`](https://github.com/facebook/jest/commit/b87030655dcaa315bf750c81cbd2b4e21a0f7bcf) Simplify workaround that overrides Jest clone folder on Azure Pipelines ([#8413](https://github-redirect.dependabot.com/facebook/jest/issues/8413)) - [`1c5d830`](https://github.com/facebook/jest/commit/1c5d8300355e7c50d528a428296e346a585a5ae8) Simple sugar text correction in Mock Function docs ([#8406](https://github-redirect.dependabot.com/facebook/jest/issues/8406)) - [`4941d12`](https://github.com/facebook/jest/commit/4941d12dd6cf1a14f49c51b5c12f957b11567d3f) fix(jest-config): Allow exactly one project ([#7498](https://github-redirect.dependabot.com/facebook/jest/issues/7498)) - [`9081612`](https://github.com/facebook/jest/commit/908161251af23cde7dcf78ba8b5acf828a59998a) Revert [#7089](https://github-redirect.dependabot.com/facebook/jest/issues/7089) and add tests to catch the regression in the future. ([#8405](https://github-redirect.dependabot.com/facebook/jest/issues/8405)) - [`a9c0e6b`](https://github.com/facebook/jest/commit/a9c0e6bd13e8686811dcbc6ab52da0ca81225de6) Cache checked files in fs ([#8388](https://github-redirect.dependabot.com/facebook/jest/issues/8388)) - Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.1.0...v24.8.0)Maintainer changes
This version was pushed to npm by [scotthovestadt](https://www.npmjs.com/~scotthovestadt), 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 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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@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.