-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit c24e9ed
build(deps-dev): bump jest from 23.6.0 to 24.0.0 (#178)
Bumps [jest](https://github.com/facebook/jest) from 23.6.0 to 24.0.0.
<details>
<summary>Changelog</summary>
*Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).*
> ## 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))
> - `[babel-preset-jest]` [**BREAKING**] Export a function instead of an object for Babel 7 compatibility ([#7203](https://github-redirect.dependabot.com/facebook/jest/pull/7203))
> - `[jest-haste-map]` [**BREAKING**] Expose relative paths when getting the file iterator ([#7321](https://github-redirect.dependabot.com/facebook/jest/pull/7321))
> - `[jest-cli]` [**BREAKING**] Run code transforms over `global{Setup,Teardown}` ([#7562](https://github-redirect.dependabot.com/facebook/jest/pull/7562))
> - `[jest-haste-map]` Add `hasteFS.getSize(path)` ([#7580](https://github-redirect.dependabot.com/facebook/jest/pull/7580))
> - `[jest-cli]` Print version ending in `-dev` when running a local Jest clone ([#7582](https://github-redirect.dependabot.com/facebook/jest/pull/7582))
> - `[jest-cli]` Add Support for `globalSetup` and `globalTeardown` in projects ([#6865](https://github-redirect.dependabot.com/facebook/jest/pull/6865))
> - `[jest-runtime]` Add `extraGlobals` to config to load extra global variables into the execution vm ([#7454](https://github-redirect.dependabot.com/facebook/jest/pull/7454))
> - `[jest-util]` Export `specialChars` containing Unicode characters and ANSI escapes for console output ([#7532](https://github-redirect.dependabot.com/facebook/jest/pull/7532))
> - `[jest-config]` Handle typescript (`ts` and `tsx`) by default ([#7533](https://github-redirect.dependabot.com/facebook/jest/pull/7533))
> - `[jest-validate]` Add support for comments in `package.json` using a `"//"` key ([#7295](https://github-redirect.dependabot.com/facebook/jest/pull/7295))
> - `[jest-config]` Add shorthand for watch plugins and runners ([#7213](https://github-redirect.dependabot.com/facebook/jest/pull/7213))
> - `[jest-jasmine2/jest-circus/jest-cli]` Add test.todo ([#6996](https://github-redirect.dependabot.com/facebook/jest/pull/6996))
> - `[pretty-format]` Option to not escape strings in diff messages ([#5661](https://github-redirect.dependabot.com/facebook/jest/pull/5661))
> - `[jest-haste-map]` Add `getFileIterator` to `HasteFS` for faster file iteration ([#7010](https://github-redirect.dependabot.com/facebook/jest/pull/7010))
> - `[jest-config]` Add `readConfigs` function, previously in `jest-cli` ([#7096](https://github-redirect.dependabot.com/facebook/jest/pull/7096))
> - `[jest-snapshot]` Enable configurable snapshot paths ([#6143](https://github-redirect.dependabot.com/facebook/jest/pull/6143))
> - `[pretty-format]` Support HTMLCollection and NodeList in DOMCollection plugin ([#7125](https://github-redirect.dependabot.com/facebook/jest/pull/7125))
> - `[jest-runtime]` Pass the normalized configuration to script transformers ([#7148](https://github-redirect.dependabot.com/facebook/jest/pull/7148))
> - `[expect]` Improve report when assertion fails, part 3 ([#7152](https://github-redirect.dependabot.com/facebook/jest/pull/7152))
> - `[jest-runtime]` If `require` fails without a file extension, print all files that match with one ([#7160](https://github-redirect.dependabot.com/facebook/jest/pull/7160))
> - `[jest-haste-map]` Make `ignorePattern` optional ([#7166](https://github-redirect.dependabot.com/facebook/jest/pull/7166))
> - `[jest-haste-map]` Add `getCacheFilePath` to get the path to the cache file for a `HasteMap` instance ([#7217](https://github-redirect.dependabot.com/facebook/jest/pull/7217))
> - `[jest-runtime]` Remove `cacheDirectory` from `ignorePattern` for `HasteMap` if not necessary ([#7166](https://github-redirect.dependabot.com/facebook/jest/pull/7166))
> - `[jest-validate]` Add syntax to validate multiple permitted types ([#7207](https://github-redirect.dependabot.com/facebook/jest/pull/7207))
> - `[jest-config]` Accept an array as as well as a string for `testRegex`([#7209]https://github-redirect.dependabot.com/facebook/jest/pull/7209))
> - `[expect/jest-matcher-utils]` Improve report when assertion fails, part 4 ([#7241](https://github-redirect.dependabot.com/facebook/jest/pull/7241))
> - `[expect/jest-matcher-utils]` Improve report when assertion fails, part 5 ([#7557](https://github-redirect.dependabot.com/facebook/jest/pull/7557))
> - `[expect]` Check constructor equality in .toStrictEqual() ([#7005](https://github-redirect.dependabot.com/facebook/jest/pull/7005))
> - `[jest-util]` Add `jest.getTimerCount()` to get the count of scheduled fake timers ([#7285](https://github-redirect.dependabot.com/facebook/jest/pull/7285))
> - `[jest-config]` Add `dependencyExtractor` option to use a custom module to extract dependencies from files ([#7313](https://github-redirect.dependabot.com/facebook/jest/pull/7313), [#7349](https://github-redirect.dependabot.com/facebook/jest/pull/7349), [#7350](https://github-redirect.dependabot.com/facebook/jest/pull/7350), [#7362](https://github-redirect.dependabot.com/facebook/jest/pull/7362))
> - `[jest-haste-map]` Accept a `getCacheKey` method in `hasteImplModulePath` modules to reset the cache when the logic changes ([#7350](https://github-redirect.dependabot.com/facebook/jest/pull/7350))
> - `[jest-config]` Add `haste.computeSha1` option to compute the sha-1 of the files in the haste map ([#7345](https://github-redirect.dependabot.com/facebook/jest/pull/7345))
> - `[expect]` `expect(Infinity).toBeCloseTo(Infinity)` Treats `Infinity` as equal in toBeCloseTo matcher ([#7405](https://github-redirect.dependabot.com/facebook/jest/pull/7405))
> - `[jest-worker]` Add node worker-thread support to jest-worker ([#7408](https://github-redirect.dependabot.com/facebook/jest/pull/7408))
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>
- [`0422bde`](jestjs/jest@0422bde) Release 24.0.0
- [`634e5a5`](jestjs/jest@634e5a5) expect: fix regression in toThrow for message prop and asymmetric matchers (#...
- [`6081f7a`](jestjs/jest@6081f7a) [jest-each] Add primitive pretty printing ([#7694](https://github-redirect.dependabot.com/facebook/jest/issues/7694))
- [`57aeaa2`](jestjs/jest@57aeaa2) chore: bump flow
- [`28971c5`](jestjs/jest@28971c5) Ensure mocks get resolved too ([#7687](https://github-redirect.dependabot.com/facebook/jest/issues/7687))
- [`1d1c3f9`](jestjs/jest@1d1c3f9) chore: upgrade docusaurus ([#7691](https://github-redirect.dependabot.com/facebook/jest/issues/7691))
- [`9cfcd81`](jestjs/jest@9cfcd81) make worker_threads opt-in, not opt-out ([#7693](https://github-redirect.dependabot.com/facebook/jest/issues/7693))
- [`6de22dd`](jestjs/jest@6de22dd) Update lerna configuration
- [`1256f76`](jestjs/jest@1256f76) Fix toHaveProperty matcher for inherited properties ([#7686](https://github-redirect.dependabot.com/facebook/jest/issues/7686))
- [`967b335`](jestjs/jest@967b335) fix: add option to disable `worker_threads` in `jest-worker` ([#7681](https://github-redirect.dependabot.com/facebook/jest/issues/7681))
- Additional commits viewable in [compare view](jestjs/jest@v23.6.0...v24.0.0)
</details>
<details>
<summary>Maintainer changes</summary>
This version was pushed to npm by [rubennorte](https://www.npmjs.com/~rubennorte), a new releaser for jest since your current version.
</details>
<br />
[](https://dependabot.com/compatibility-score.html?dependency-name=jest&package-manager=npm_and_yarn&previous-version=23.6.0&new-version=24.0.0)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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.
</details>1 parent 6ac1ff1 commit c24e9edCopy full SHA for c24e9ed
File tree
Expand file treeCollapse file tree
2 files changed
+670
-801
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+670
-801
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + | |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
0 commit comments