Release notes
*Sourced from [jest's releases](https://github.com/facebook/jest/releases).*
> ## 24.9.0
> ### Features
>
> - `[expect]` Highlight substring differences when matcher fails, part 1 ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8448))
> - `[expect]` Highlight substring differences when matcher fails, part 2 ([#8528](https://github-redirect.dependabot.com/facebook/jest/pull/8528))
> - `[expect]` Improve report when mock-spy matcher fails, part 1 ([#8640](https://github-redirect.dependabot.com/facebook/jest/pull/8640))
> - `[expect]` Improve report when mock-spy matcher fails, part 2 ([#8649](https://github-redirect.dependabot.com/facebook/jest/pull/8649))
> - `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github-redirect.dependabot.com/facebook/jest/pull/8697))
> - `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github-redirect.dependabot.com/facebook/jest/pull/8710))
> - `[expect]` Throw matcher error when received cannot be jasmine spy ([#8747](https://github-redirect.dependabot.com/facebook/jest/pull/8747))
> - `[expect]` Improve report when negative CalledWith assertion fails ([#8755](https://github-redirect.dependabot.com/facebook/jest/pull/8755))
> - `[expect]` Improve report when positive CalledWith assertion fails ([#8771](https://github-redirect.dependabot.com/facebook/jest/pull/8771))
> - `[expect]` Display equal values for ReturnedWith similar to CalledWith ([#8791](https://github-redirect.dependabot.com/facebook/jest/pull/8791))
> - `[expect, jest-snapshot]` Change color from green for some args in matcher hints ([#8812](https://github-redirect.dependabot.com/facebook/jest/pull/8812))
> - `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github-redirect.dependabot.com/facebook/jest/pull/8569))
> - `[jest-core]` Improve report when snapshots are obsolete ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8665))
> - `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github-redirect.dependabot.com/facebook/jest/pull/8454))
> - `[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github-redirect.dependabot.com/facebook/jest/pull/8456))
> - `[pretty-format]` Render custom displayName of memoized components
> - `[jest-validate]` Allow `maxWorkers` as part of the `jest.config.js` ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565))
> - `[jest-runtime]` Allow passing configuration objects to transformers ([#7288](https://github-redirect.dependabot.com/facebook/jest/pull/7288))
> - `[@jest/core, @jest/test-sequencer]` Support async sort in custom `testSequencer` ([#8642](https://github-redirect.dependabot.com/facebook/jest/pull/8642))
> - `[jest-runtime, @jest/fake-timers]` Add `jest.advanceTimersToNextTimer` ([#8713](https://github-redirect.dependabot.com/facebook/jest/pull/8713))
> - `[@jest-transform]` Extract transforming require logic within `jest-core` into `@jest-transform` ([#8756](https://github-redirect.dependabot.com/facebook/jest/pull/8756))
> - `[jest-matcher-utils]` Add color options to `matcherHint` ([#8795](https://github-redirect.dependabot.com/facebook/jest/pull/8795))
> - `[jest-circus/jest-jasmine2]` Give clearer output for Node assert errors ([#8792](https://github-redirect.dependabot.com/facebook/jest/pull/8792))
> - `[jest-runner]` Export all types in the type signature of `jest-runner` ([#8825](https://github-redirect.dependabot.com/facebook/jest/pull/8825))`
>
> ### Fixes
>
> - `[jest-cli]` Detect side-effect only imports when running `--onlyChanged` or `--changedSince` ([#8670](https://github-redirect.dependabot.com/facebook/jest/pull/8670))
> - `[jest-cli]` Allow `--maxWorkers` to work with % input again ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565))
> - `[babel-plugin-jest-hoist]` Expand list of whitelisted globals in global mocks ([#8429](https://github-redirect.dependabot.com/facebook/jest/pull/8429)
> - `[jest-core]` Make watch plugin initialization errors look nice ([#8422](https://github-redirect.dependabot.com/facebook/jest/pull/8422))
> - `[jest-snapshot]` Prevent inline snapshots from drifting when inline snapshots are updated ([#8492](https://github-redirect.dependabot.com/facebook/jest/pull/8492))
> - `[jest-haste-map]` Don't throw on missing mapper in Node crawler ([#8558](https://github-redirect.dependabot.com/facebook/jest/pull/8558))
> - `[jest-core]` Fix incorrect `passWithNoTests` warning ([#8595](https://github-redirect.dependabot.com/facebook/jest/pull/8595))
> - `[jest-snapshots]` Fix test retries that contain snapshots ([#8629](https://github-redirect.dependabot.com/facebook/jest/pull/8629))
> - `[jest-mock]` Fix incorrect assignments when restoring mocks in instances where they originally didn't exist ([#8631](https://github-redirect.dependabot.com/facebook/jest/pull/8631))
> - `[expect]` Fix stack overflow when matching objects with circular references ([#8687](https://github-redirect.dependabot.com/facebook/jest/pull/8687))
> - `[jest-haste-map]` Workaround a node >=12.5.0 bug that causes the process not to exit after tests have completed and cancerous memory growth ([#8787](https://github-redirect.dependabot.com/facebook/jest/pull/8787))
>
> ### Chore & Maintenance
>
> - `[jest-leak-detector]` remove code repeat ([#8438](https://github-redirect.dependabot.com/facebook/jest/pull/8438)
> - `[docs]` Add example to `jest.requireActual` ([#8482](https://github-redirect.dependabot.com/facebook/jest/pull/8482)
> - `[docs]` Add example to `jest.mock` for mocking ES6 modules with the `factory` parameter ([#8550](https://github-redirect.dependabot.com/facebook/jest/pull/8550))
> - `[docs]` Add information about using `jest.doMock` with ES6 imports ([#8573](https://github-redirect.dependabot.com/facebook/jest/pull/8573))
> - `[docs]` Fix variable name in custom-matcher-api code example ([#8582](https://github-redirect.dependabot.com/facebook/jest/pull/8582))
> - `[docs]` Fix example used in custom environment docs ([#8617](https://github-redirect.dependabot.com/facebook/jest/pull/8617))
> ... (truncated)
Changelog
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).*
> ## 24.9.0
>
> ### Features
>
> - `[expect]` Highlight substring differences when matcher fails, part 1 ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8448))
> - `[expect]` Highlight substring differences when matcher fails, part 2 ([#8528](https://github-redirect.dependabot.com/facebook/jest/pull/8528))
> - `[expect]` Improve report when mock-spy matcher fails, part 1 ([#8640](https://github-redirect.dependabot.com/facebook/jest/pull/8640))
> - `[expect]` Improve report when mock-spy matcher fails, part 2 ([#8649](https://github-redirect.dependabot.com/facebook/jest/pull/8649))
> - `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github-redirect.dependabot.com/facebook/jest/pull/8697))
> - `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github-redirect.dependabot.com/facebook/jest/pull/8710))
> - `[expect]` Throw matcher error when received cannot be jasmine spy ([#8747](https://github-redirect.dependabot.com/facebook/jest/pull/8747))
> - `[expect]` Improve report when negative CalledWith assertion fails ([#8755](https://github-redirect.dependabot.com/facebook/jest/pull/8755))
> - `[expect]` Improve report when positive CalledWith assertion fails ([#8771](https://github-redirect.dependabot.com/facebook/jest/pull/8771))
> - `[expect]` Display equal values for ReturnedWith similar to CalledWith ([#8791](https://github-redirect.dependabot.com/facebook/jest/pull/8791))
> - `[expect, jest-snapshot]` Change color from green for some args in matcher hints ([#8812](https://github-redirect.dependabot.com/facebook/jest/pull/8812))
> - `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github-redirect.dependabot.com/facebook/jest/pull/8569))
> - `[jest-core]` Improve report when snapshots are obsolete ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8665))
> - `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github-redirect.dependabot.com/facebook/jest/pull/8454))
> - `[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github-redirect.dependabot.com/facebook/jest/pull/8456))
> - `[pretty-format]` Render custom displayName of memoized components ([#8546](https://github-redirect.dependabot.com/facebook/jest/pull/8546))
> - `[jest-validate]` Allow `maxWorkers` as part of the `jest.config.js` ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565))
> - `[jest-runtime]` Allow passing configuration objects to transformers ([#7288](https://github-redirect.dependabot.com/facebook/jest/pull/7288))
> - `[@jest/core, @jest/test-sequencer]` Support async sort in custom `testSequencer` ([#8642](https://github-redirect.dependabot.com/facebook/jest/pull/8642))
> - `[jest-runtime, @jest/fake-timers]` Add `jest.advanceTimersToNextTimer` ([#8713](https://github-redirect.dependabot.com/facebook/jest/pull/8713))
> - `[@jest-transform]` Extract transforming require logic within `jest-core` into `@jest-transform` ([#8756](https://github-redirect.dependabot.com/facebook/jest/pull/8756))
> - `[jest-matcher-utils]` Add color options to `matcherHint` ([#8795](https://github-redirect.dependabot.com/facebook/jest/pull/8795))
> - `[jest-circus/jest-jasmine2]` Give clearer output for Node assert errors ([#8792](https://github-redirect.dependabot.com/facebook/jest/pull/8792))
> - `[jest-runner]` Export all types in the type signature of `jest-runner` ([#8825](https://github-redirect.dependabot.com/facebook/jest/pull/8825))
>
> ### Fixes
>
> - `[jest-cli]` Detect side-effect only imports when running `--onlyChanged` or `--changedSince` ([#8670](https://github-redirect.dependabot.com/facebook/jest/pull/8670))
> - `[jest-cli]` Allow `--maxWorkers` to work with % input again ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565))
> - `[babel-plugin-jest-hoist]` Expand list of whitelisted globals in global mocks ([#8429](https://github-redirect.dependabot.com/facebook/jest/pull/8429))
> - `[jest-core]` Make watch plugin initialization errors look nice ([#8422](https://github-redirect.dependabot.com/facebook/jest/pull/8422))
> - `[jest-snapshot]` Prevent inline snapshots from drifting when inline snapshots are updated ([#8492](https://github-redirect.dependabot.com/facebook/jest/pull/8492))
> - `[jest-haste-map]` Don't throw on missing mapper in Node crawler ([#8558](https://github-redirect.dependabot.com/facebook/jest/pull/8558))
> - `[jest-core]` Fix incorrect `passWithNoTests` warning ([#8595](https://github-redirect.dependabot.com/facebook/jest/pull/8595))
> - `[jest-snapshots]` Fix test retries that contain snapshots ([#8629](https://github-redirect.dependabot.com/facebook/jest/pull/8629))
> - `[jest-mock]` Fix incorrect assignments when restoring mocks in instances where they originally didn't exist ([#8631](https://github-redirect.dependabot.com/facebook/jest/pull/8631))
> - `[expect]` Fix stack overflow when matching objects with circular references ([#8687](https://github-redirect.dependabot.com/facebook/jest/pull/8687))
> - `[jest-haste-map]` Workaround a node >=12.5.0 bug that causes the process not to exit after tests have completed and cancerous memory growth ([#8787](https://github-redirect.dependabot.com/facebook/jest/pull/8787))
>
> ### Chore & Maintenance
>
> - `[jest-leak-detector]` remove code repeat ([#8438](https://github-redirect.dependabot.com/facebook/jest/pull/8438))
> - `[docs]` Add example to `jest.requireActual` ([#8482](https://github-redirect.dependabot.com/facebook/jest/pull/8482))
> - `[docs]` Add example to `jest.mock` for mocking ES6 modules with the `factory` parameter ([#8550](https://github-redirect.dependabot.com/facebook/jest/pull/8550))
> - `[docs]` Add information about using `jest.doMock` with ES6 imports ([#8573](https://github-redirect.dependabot.com/facebook/jest/pull/8573))
> - `[docs]` Fix variable name in custom-matcher-api code example ([#8582](https://github-redirect.dependabot.com/facebook/jest/pull/8582))
> ... (truncated)
Commits
- [`3cdbd55`](https://github.com/facebook/jest/commit/3cdbd556948b4974b2cc23178977eb159d343df8) Release 24.9.0
- [`9ad0f4b`](https://github.com/facebook/jest/commit/9ad0f4bc6b8bdd94989804226c28c9960d9da7d1) Workaround a node >=12.5.0 bug that causes the process not to exit after test...
- [`4df0070`](https://github.com/facebook/jest/commit/4df00708c4b522dcb759a6d5723a11ee9580f081) Add timeout to prevent notifier from locking CPU on MacOS ([#8831](https://github-redirect.dependabot.com/facebook/jest/issues/8831))
- [`3ab2fc1`](https://github.com/facebook/jest/commit/3ab2fc1b0ae3542bb8cdc927bf5459ba16a6420c) chore: export types from jest-runner ([#8825](https://github-redirect.dependabot.com/facebook/jest/issues/8825))
- [`d610c9a`](https://github.com/facebook/jest/commit/d610c9a00f5b9ca608ff9a7fb1e0a2b21f5f9027) chore: Delete obsolete link and simplify structure in pretty-format README (#...
- [`abb760a`](https://github.com/facebook/jest/commit/abb760a2614d29a39a6dd062288c847a5776f493) feat: add sync way of requiring and transpiling module ([#8808](https://github-redirect.dependabot.com/facebook/jest/issues/8808))
- [`0d48344`](https://github.com/facebook/jest/commit/0d4834427f66091f403964c9be86a71d50a9f965) chore: Check copyright and license as one joined substring ([#8815](https://github-redirect.dependabot.com/facebook/jest/issues/8815))
- [`9406708`](https://github.com/facebook/jest/commit/94067089dd25c77463e24e981fe979fb6cc0b2fb) expect, jest-snapshot: Change color from green for some args in matcher hints...
- [`86e73f5`](https://github.com/facebook/jest/commit/86e73f5b22e8a02b5233af78c68ef7318c59e1b3) chore: enforce LF line endings ([#8809](https://github-redirect.dependabot.com/facebook/jest/issues/8809))
- [`d9b43a8`](https://github.com/facebook/jest/commit/d9b43a88bf9c5d4eb3e12b88edad60ac1ee30609) remove unreleased `--testTimeout` feature from versioned_docs ([#8811](https://github-redirect.dependabot.com/facebook/jest/issues/8811))
- Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.6.0...v24.9.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.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
- 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)
Bumps jest from 23.6.0 to 24.9.0.
Release notes
*Sourced from [jest's releases](https://github.com/facebook/jest/releases).* > ## 24.9.0 > ### Features > > - `[expect]` Highlight substring differences when matcher fails, part 1 ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8448)) > - `[expect]` Highlight substring differences when matcher fails, part 2 ([#8528](https://github-redirect.dependabot.com/facebook/jest/pull/8528)) > - `[expect]` Improve report when mock-spy matcher fails, part 1 ([#8640](https://github-redirect.dependabot.com/facebook/jest/pull/8640)) > - `[expect]` Improve report when mock-spy matcher fails, part 2 ([#8649](https://github-redirect.dependabot.com/facebook/jest/pull/8649)) > - `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github-redirect.dependabot.com/facebook/jest/pull/8697)) > - `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github-redirect.dependabot.com/facebook/jest/pull/8710)) > - `[expect]` Throw matcher error when received cannot be jasmine spy ([#8747](https://github-redirect.dependabot.com/facebook/jest/pull/8747)) > - `[expect]` Improve report when negative CalledWith assertion fails ([#8755](https://github-redirect.dependabot.com/facebook/jest/pull/8755)) > - `[expect]` Improve report when positive CalledWith assertion fails ([#8771](https://github-redirect.dependabot.com/facebook/jest/pull/8771)) > - `[expect]` Display equal values for ReturnedWith similar to CalledWith ([#8791](https://github-redirect.dependabot.com/facebook/jest/pull/8791)) > - `[expect, jest-snapshot]` Change color from green for some args in matcher hints ([#8812](https://github-redirect.dependabot.com/facebook/jest/pull/8812)) > - `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github-redirect.dependabot.com/facebook/jest/pull/8569)) > - `[jest-core]` Improve report when snapshots are obsolete ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8665)) > - `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github-redirect.dependabot.com/facebook/jest/pull/8454)) > - `[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github-redirect.dependabot.com/facebook/jest/pull/8456)) > - `[pretty-format]` Render custom displayName of memoized components > - `[jest-validate]` Allow `maxWorkers` as part of the `jest.config.js` ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565)) > - `[jest-runtime]` Allow passing configuration objects to transformers ([#7288](https://github-redirect.dependabot.com/facebook/jest/pull/7288)) > - `[@jest/core, @jest/test-sequencer]` Support async sort in custom `testSequencer` ([#8642](https://github-redirect.dependabot.com/facebook/jest/pull/8642)) > - `[jest-runtime, @jest/fake-timers]` Add `jest.advanceTimersToNextTimer` ([#8713](https://github-redirect.dependabot.com/facebook/jest/pull/8713)) > - `[@jest-transform]` Extract transforming require logic within `jest-core` into `@jest-transform` ([#8756](https://github-redirect.dependabot.com/facebook/jest/pull/8756)) > - `[jest-matcher-utils]` Add color options to `matcherHint` ([#8795](https://github-redirect.dependabot.com/facebook/jest/pull/8795)) > - `[jest-circus/jest-jasmine2]` Give clearer output for Node assert errors ([#8792](https://github-redirect.dependabot.com/facebook/jest/pull/8792)) > - `[jest-runner]` Export all types in the type signature of `jest-runner` ([#8825](https://github-redirect.dependabot.com/facebook/jest/pull/8825))` > > ### Fixes > > - `[jest-cli]` Detect side-effect only imports when running `--onlyChanged` or `--changedSince` ([#8670](https://github-redirect.dependabot.com/facebook/jest/pull/8670)) > - `[jest-cli]` Allow `--maxWorkers` to work with % input again ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565)) > - `[babel-plugin-jest-hoist]` Expand list of whitelisted globals in global mocks ([#8429](https://github-redirect.dependabot.com/facebook/jest/pull/8429) > - `[jest-core]` Make watch plugin initialization errors look nice ([#8422](https://github-redirect.dependabot.com/facebook/jest/pull/8422)) > - `[jest-snapshot]` Prevent inline snapshots from drifting when inline snapshots are updated ([#8492](https://github-redirect.dependabot.com/facebook/jest/pull/8492)) > - `[jest-haste-map]` Don't throw on missing mapper in Node crawler ([#8558](https://github-redirect.dependabot.com/facebook/jest/pull/8558)) > - `[jest-core]` Fix incorrect `passWithNoTests` warning ([#8595](https://github-redirect.dependabot.com/facebook/jest/pull/8595)) > - `[jest-snapshots]` Fix test retries that contain snapshots ([#8629](https://github-redirect.dependabot.com/facebook/jest/pull/8629)) > - `[jest-mock]` Fix incorrect assignments when restoring mocks in instances where they originally didn't exist ([#8631](https://github-redirect.dependabot.com/facebook/jest/pull/8631)) > - `[expect]` Fix stack overflow when matching objects with circular references ([#8687](https://github-redirect.dependabot.com/facebook/jest/pull/8687)) > - `[jest-haste-map]` Workaround a node >=12.5.0 bug that causes the process not to exit after tests have completed and cancerous memory growth ([#8787](https://github-redirect.dependabot.com/facebook/jest/pull/8787)) > > ### Chore & Maintenance > > - `[jest-leak-detector]` remove code repeat ([#8438](https://github-redirect.dependabot.com/facebook/jest/pull/8438) > - `[docs]` Add example to `jest.requireActual` ([#8482](https://github-redirect.dependabot.com/facebook/jest/pull/8482) > - `[docs]` Add example to `jest.mock` for mocking ES6 modules with the `factory` parameter ([#8550](https://github-redirect.dependabot.com/facebook/jest/pull/8550)) > - `[docs]` Add information about using `jest.doMock` with ES6 imports ([#8573](https://github-redirect.dependabot.com/facebook/jest/pull/8573)) > - `[docs]` Fix variable name in custom-matcher-api code example ([#8582](https://github-redirect.dependabot.com/facebook/jest/pull/8582)) > - `[docs]` Fix example used in custom environment docs ([#8617](https://github-redirect.dependabot.com/facebook/jest/pull/8617)) > ... (truncated)Changelog
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).* > ## 24.9.0 > > ### Features > > - `[expect]` Highlight substring differences when matcher fails, part 1 ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8448)) > - `[expect]` Highlight substring differences when matcher fails, part 2 ([#8528](https://github-redirect.dependabot.com/facebook/jest/pull/8528)) > - `[expect]` Improve report when mock-spy matcher fails, part 1 ([#8640](https://github-redirect.dependabot.com/facebook/jest/pull/8640)) > - `[expect]` Improve report when mock-spy matcher fails, part 2 ([#8649](https://github-redirect.dependabot.com/facebook/jest/pull/8649)) > - `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github-redirect.dependabot.com/facebook/jest/pull/8697)) > - `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github-redirect.dependabot.com/facebook/jest/pull/8710)) > - `[expect]` Throw matcher error when received cannot be jasmine spy ([#8747](https://github-redirect.dependabot.com/facebook/jest/pull/8747)) > - `[expect]` Improve report when negative CalledWith assertion fails ([#8755](https://github-redirect.dependabot.com/facebook/jest/pull/8755)) > - `[expect]` Improve report when positive CalledWith assertion fails ([#8771](https://github-redirect.dependabot.com/facebook/jest/pull/8771)) > - `[expect]` Display equal values for ReturnedWith similar to CalledWith ([#8791](https://github-redirect.dependabot.com/facebook/jest/pull/8791)) > - `[expect, jest-snapshot]` Change color from green for some args in matcher hints ([#8812](https://github-redirect.dependabot.com/facebook/jest/pull/8812)) > - `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github-redirect.dependabot.com/facebook/jest/pull/8569)) > - `[jest-core]` Improve report when snapshots are obsolete ([#8448](https://github-redirect.dependabot.com/facebook/jest/pull/8665)) > - `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github-redirect.dependabot.com/facebook/jest/pull/8454)) > - `[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github-redirect.dependabot.com/facebook/jest/pull/8456)) > - `[pretty-format]` Render custom displayName of memoized components ([#8546](https://github-redirect.dependabot.com/facebook/jest/pull/8546)) > - `[jest-validate]` Allow `maxWorkers` as part of the `jest.config.js` ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565)) > - `[jest-runtime]` Allow passing configuration objects to transformers ([#7288](https://github-redirect.dependabot.com/facebook/jest/pull/7288)) > - `[@jest/core, @jest/test-sequencer]` Support async sort in custom `testSequencer` ([#8642](https://github-redirect.dependabot.com/facebook/jest/pull/8642)) > - `[jest-runtime, @jest/fake-timers]` Add `jest.advanceTimersToNextTimer` ([#8713](https://github-redirect.dependabot.com/facebook/jest/pull/8713)) > - `[@jest-transform]` Extract transforming require logic within `jest-core` into `@jest-transform` ([#8756](https://github-redirect.dependabot.com/facebook/jest/pull/8756)) > - `[jest-matcher-utils]` Add color options to `matcherHint` ([#8795](https://github-redirect.dependabot.com/facebook/jest/pull/8795)) > - `[jest-circus/jest-jasmine2]` Give clearer output for Node assert errors ([#8792](https://github-redirect.dependabot.com/facebook/jest/pull/8792)) > - `[jest-runner]` Export all types in the type signature of `jest-runner` ([#8825](https://github-redirect.dependabot.com/facebook/jest/pull/8825)) > > ### Fixes > > - `[jest-cli]` Detect side-effect only imports when running `--onlyChanged` or `--changedSince` ([#8670](https://github-redirect.dependabot.com/facebook/jest/pull/8670)) > - `[jest-cli]` Allow `--maxWorkers` to work with % input again ([#8565](https://github-redirect.dependabot.com/facebook/jest/pull/8565)) > - `[babel-plugin-jest-hoist]` Expand list of whitelisted globals in global mocks ([#8429](https://github-redirect.dependabot.com/facebook/jest/pull/8429)) > - `[jest-core]` Make watch plugin initialization errors look nice ([#8422](https://github-redirect.dependabot.com/facebook/jest/pull/8422)) > - `[jest-snapshot]` Prevent inline snapshots from drifting when inline snapshots are updated ([#8492](https://github-redirect.dependabot.com/facebook/jest/pull/8492)) > - `[jest-haste-map]` Don't throw on missing mapper in Node crawler ([#8558](https://github-redirect.dependabot.com/facebook/jest/pull/8558)) > - `[jest-core]` Fix incorrect `passWithNoTests` warning ([#8595](https://github-redirect.dependabot.com/facebook/jest/pull/8595)) > - `[jest-snapshots]` Fix test retries that contain snapshots ([#8629](https://github-redirect.dependabot.com/facebook/jest/pull/8629)) > - `[jest-mock]` Fix incorrect assignments when restoring mocks in instances where they originally didn't exist ([#8631](https://github-redirect.dependabot.com/facebook/jest/pull/8631)) > - `[expect]` Fix stack overflow when matching objects with circular references ([#8687](https://github-redirect.dependabot.com/facebook/jest/pull/8687)) > - `[jest-haste-map]` Workaround a node >=12.5.0 bug that causes the process not to exit after tests have completed and cancerous memory growth ([#8787](https://github-redirect.dependabot.com/facebook/jest/pull/8787)) > > ### Chore & Maintenance > > - `[jest-leak-detector]` remove code repeat ([#8438](https://github-redirect.dependabot.com/facebook/jest/pull/8438)) > - `[docs]` Add example to `jest.requireActual` ([#8482](https://github-redirect.dependabot.com/facebook/jest/pull/8482)) > - `[docs]` Add example to `jest.mock` for mocking ES6 modules with the `factory` parameter ([#8550](https://github-redirect.dependabot.com/facebook/jest/pull/8550)) > - `[docs]` Add information about using `jest.doMock` with ES6 imports ([#8573](https://github-redirect.dependabot.com/facebook/jest/pull/8573)) > - `[docs]` Fix variable name in custom-matcher-api code example ([#8582](https://github-redirect.dependabot.com/facebook/jest/pull/8582)) > ... (truncated)Commits
- [`3cdbd55`](https://github.com/facebook/jest/commit/3cdbd556948b4974b2cc23178977eb159d343df8) Release 24.9.0 - [`9ad0f4b`](https://github.com/facebook/jest/commit/9ad0f4bc6b8bdd94989804226c28c9960d9da7d1) Workaround a node >=12.5.0 bug that causes the process not to exit after test... - [`4df0070`](https://github.com/facebook/jest/commit/4df00708c4b522dcb759a6d5723a11ee9580f081) Add timeout to prevent notifier from locking CPU on MacOS ([#8831](https://github-redirect.dependabot.com/facebook/jest/issues/8831)) - [`3ab2fc1`](https://github.com/facebook/jest/commit/3ab2fc1b0ae3542bb8cdc927bf5459ba16a6420c) chore: export types from jest-runner ([#8825](https://github-redirect.dependabot.com/facebook/jest/issues/8825)) - [`d610c9a`](https://github.com/facebook/jest/commit/d610c9a00f5b9ca608ff9a7fb1e0a2b21f5f9027) chore: Delete obsolete link and simplify structure in pretty-format README (#... - [`abb760a`](https://github.com/facebook/jest/commit/abb760a2614d29a39a6dd062288c847a5776f493) feat: add sync way of requiring and transpiling module ([#8808](https://github-redirect.dependabot.com/facebook/jest/issues/8808)) - [`0d48344`](https://github.com/facebook/jest/commit/0d4834427f66091f403964c9be86a71d50a9f965) chore: Check copyright and license as one joined substring ([#8815](https://github-redirect.dependabot.com/facebook/jest/issues/8815)) - [`9406708`](https://github.com/facebook/jest/commit/94067089dd25c77463e24e981fe979fb6cc0b2fb) expect, jest-snapshot: Change color from green for some args in matcher hints... - [`86e73f5`](https://github.com/facebook/jest/commit/86e73f5b22e8a02b5233af78c68ef7318c59e1b3) chore: enforce LF line endings ([#8809](https://github-redirect.dependabot.com/facebook/jest/issues/8809)) - [`d9b43a8`](https://github.com/facebook/jest/commit/d9b43a88bf9c5d4eb3e12b88edad60ac1ee30609) remove unreleased `--testTimeout` feature from versioned_docs ([#8811](https://github-redirect.dependabot.com/facebook/jest/issues/8811)) - Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.6.0...v24.9.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
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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) - 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)