Closed renovate[bot] closed 3 years ago
Merging #686 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #686 +/- ##
=======================================
Coverage 49.58% 49.58%
=======================================
Files 76 76
Lines 3828 3828
Branches 728 728
=======================================
Hits 1898 1898
Misses 1643 1643
Partials 287 287
Continue to review full report at Codecov.
Legend - Click here to learn more
Ξ = absolute <relative> (impact)
,ΓΈ = not affected
,? = missing data
Powered by Codecov. Last update a1312c3...57ca270. Read the comment docs.
Merging #686 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #686 +/- ##
=======================================
Coverage 47.44% 47.44%
=======================================
Files 78 78
Lines 3741 3741
Branches 692 692
=======================================
Hits 1775 1775
Misses 1688 1688
Partials 278 278
Continue to review full report at Codecov.
Legend - Click here to learn more
Ξ = absolute <relative> (impact)
,ΓΈ = not affected
,? = missing data
Powered by Codecov. Last update 8d594d3...8a727f0. Read the comment docs.
This PR contains the following updates:
^25.0.0
->^26.0.0
Release Notes
facebook/jest
### [`v26.6.3`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2663) [Compare Source](https://togithub.com/facebook/jest/compare/v26.6.2...v26.6.3) ##### Fixes - `[jest-resolve-dependencies]` Continue dependency resolution if mock dependency can't be found ([#10779](https://togithub.com/facebook/jest/pull/10779)) ### [`v26.6.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2662) [Compare Source](https://togithub.com/facebook/jest/compare/v26.6.1...v26.6.2) ##### Features - `[jest-core]` Add `findRelatedTests` and `nonFlagArgs` in allowed config options for `updateConfigAndRun` in watch plugins ([#10659](https://togithub.com/facebook/jest/pull/10659)) ##### Fixes - `[babel-plugin-jest-hoist]` Preserve order of hoisted mock nodes within containing block ([#10536](https://togithub.com/facebook/jest/pull/10536)) - `[babel-plugin-jest-hoist]` Hoist pure constants to support experimental JSX transform in hoisted mocks ([#10723](https://togithub.com/facebook/jest/pull/10723)) - `[babel-preset-jest]` Update `babel-preset-current-node-syntax` to support top level await ([#10747](https://togithub.com/facebook/jest/pull/10747)) - `[expect]` Revert "Fix `objectContaining` to work recursively into sub-objects ([#10508](https://togithub.com/facebook/jest/pull/10508))" ([#10766](https://togithub.com/facebook/jest/pull/10766)) - `[jest-circus, jest-jasmine2]` fix: don't assume `stack` is always a string ([#10697](https://togithub.com/facebook/jest/pull/10697)) - `[jest-config]` Fix bug introduced in watch mode by PR [#10678](https://togithub.com/facebook/jest/pull/10678/files#r511037803) ([#10692](https://togithub.com/facebook/jest/pull/10692)) - `[jest-config]` Throw correct error for missing preset modules ([#10737](https://togithub.com/facebook/jest/pull/10737)) - `[jest-resolve-dependencies]` Resolve mocks as dependencies ([#10713](https://togithub.com/facebook/jest/pull/10713)) - `[jest-runtime]` Handle file URLs in dynamic imports ([#10744](https://togithub.com/facebook/jest/pull/10744)) - `[jest-runtime, babel-jest]` Pass more ESM options to `@jest/transform` ([#10752](https://togithub.com/facebook/jest/pull/10752)) - `[jest-runtime]` Properly inject `extraGlobals` into the runtime ([#10758](https://togithub.com/facebook/jest/pull/10758)) - `[jest-transform]` Link to ESM docs on syntax errors ([#10748](https://togithub.com/facebook/jest/pull/10748)) ##### Chore & Maintenance - `[docs]` Add docs for using mocks in TypeScript ([#10415](https://togithub.com/facebook/jest/pull/10415)) - `[eslint-config-fb-strict]` Move package from this repo to `fbjs` repo ([#10739](https://togithub.com/facebook/jest/pull/10739)) - `[examples]` Update TypeScript example to show use of newer Jest types ([#10399](https://togithub.com/facebook/jest/pull/10399)) - `[jest-cli]` chore: standardize files and folder names ([#10698](https://togithub.com/facebook/jest/pull/10698)) ### [`v26.6.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2661) [Compare Source](https://togithub.com/facebook/jest/compare/v26.6.0...v26.6.1) ##### Features - `[jest-runtime]` Support named exports from CommonJS as named ES Module imports ([#10673](https://togithub.com/facebook/jest/pull/10673)) - `[jest-validate]` Add support for `recursiveDenylist` option as an alternative to `recursiveBlacklist` ([#10236](https://togithub.com/facebook/jest/pull/10236)) ##### Fixes - `[expect]` Fix `objectContaining` to work recursively into sub-objects ([#10508](https://togithub.com/facebook/jest/pull/10508)) - `[jest-cli, jest-core, jest-config, jest-types]` Fix `--onlyFailures` flag to work in non-watch mode ([#10678](https://togithub.com/facebook/jest/pull/10678/files)) - `[jest-config]` Fix for the `jest.config.ts` compiler to not interfere with `tsconfig.json` files ([#10675](https://togithub.com/facebook/jest/pull/10675)) - `[jest-message-util]` Update to work properly with Node 15 ([#10660](https://togithub.com/facebook/jest/pull/10660)) - `[jest-mock]` Allow to mock methods in getters (TypeScript 3.9 export) ([#10156](https://togithub.com/facebook/jest/pull/10156)) ### [`v26.6.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2660) [Compare Source](https://togithub.com/facebook/jest/compare/v26.5.3...v26.6.0) ##### Features - `[jest-cli, jest-config]` Add support for the `jest.config.ts` configuration file ([#10564](https://togithub.com/facebook/jest/pull/10564)) ##### Fixes - `[jest-config]` Simplify transform RegExp ([#10207](https://togithub.com/facebook/jest/pull/10207)) - `[jest-fake-timers]` Lazily instantiate mock timers ([#10551](https://togithub.com/facebook/jest/pull/10551)) - `[jest-runtime]` `require.main` is no longer `undefined` when using `jest.resetModules` ([#10626](https://togithub.com/facebook/jest/pull/10626)) - `[@jest/types]` Add missing values for `timers` ([#10632](https://togithub.com/facebook/jest/pull/10632)) ##### Chore & Maintenance - `[docs]` Add step for fetching `backers.json` file in website setup docs ([#10631](https://togithub.com/facebook/jest/pull/10631)) - `[docs]` Add page detailing environment variables set by Jest ([#10630](https://togithub.com/facebook/jest/pull/10630)) - `[jest-circus]` Refactor `callAsyncCircusFn` parameters ([#10629](https://togithub.com/facebook/jest/pull/10629)) ### [`v26.5.3`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2653) [Compare Source](https://togithub.com/facebook/jest/compare/v26.5.2...v26.5.3) ##### Features - `[jest-runtime]` add support for dynamic `import()` from CommonJS ([#10620](https://togithub.com/facebook/jest/pull/10620)) ##### Fixes - `[jest-runner, jest-runtime]` `require.main` should not be `undefined` with `createRequire()` ([#10610](https://togithub.com/facebook/jest/pull/10610)) - `[jest-runtime]` add missing `module.path` property ([#10615](https://togithub.com/facebook/jest/pull/10615)) - `[jest-runtime]` Add `mainModule` instance variable to runtime ([#10621](https://togithub.com/facebook/jest/pull/10621)) - `[jest-runtime]` Evaluate Node core modules on dynamic `import()` ([#10622](https://togithub.com/facebook/jest/pull/10622)) - `[jest-validate]` Show suggestion only when unrecognized cli param is longer than 1 character ([#10604](https://togithub.com/facebook/jest/pull/10604)) - `[jest-validate]` Validate `testURL` as CLI option ([#10595](https://togithub.com/facebook/jest/pull/10595)) ### [`v26.5.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2652) [Compare Source](https://togithub.com/facebook/jest/compare/v26.5.0...v26.5.2) ##### Fixes - `[*]` Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13 ([#10599](https://togithub.com/facebook/jest/pull/10599)) - `[jest-circus]` Setup globals before emitting `setup`, and include Jest globals in the `setup` payload ([#10598](https://togithub.com/facebook/jest/pull/10598)) - `[jest-mock]` Fix typings for `mockResolvedValue`, `mockResolvedValueOnce`, `mockRejectedValue` and `mockRejectedValueOnce` ([#10600](https://togithub.com/facebook/jest/pull/10600)) ### [`v26.5.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2650) [Compare Source](https://togithub.com/facebook/jest/compare/v26.4.2...v26.5.0) ##### Features - `[jest-circus, jest-config, jest-runtime]` Add new `injectGlobals` config and CLI option to disable injecting global variables into the runtime ([#10484](https://togithub.com/facebook/jest/pull/10484)) - `[jest-each]` Fixes `.each` type to always be callable ([#10447](https://togithub.com/facebook/jest/pull/10447)) - `[jest-runner]` Add support for `moduleLoader`s with `default` exports ([#10541](https://togithub.com/facebook/jest/pull/10541)) - `[@jest/create-cache-key-function]` Added a new package for creating cache keys ([#10587](https://togithub.com/facebook/jest/pull/10587)) ##### Fixes - `[jest-circus, jest-jasmine2]` Find correct location for `test.each` tests ([#10413](https://togithub.com/facebook/jest/pull/10413)) - `[jest-console]` Add `Console` constructor to `console` object ([#10502](https://togithub.com/facebook/jest/pull/10502)) - `[jest-globals]` Fix lifecycle hook function types ([#10480](https://togithub.com/facebook/jest/pull/10480)) - `[jest-runtime]` Remove usage of `vm.compileFunction` due to a performance issue ([#10586](https://togithub.com/facebook/jest/pull/10586)) ##### Chore & Maintenance - `[jest-resolve]` Replace read-pkg-up with escalade package ([10558](https://togithub.com/facebook/jest/pull/10558)) - `[jest-environment-jsdom]` Update jsdom to 16.4.0 ([10578](https://togithub.com/facebook/jest/pull/10578)) ### [`v26.4.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2642) [Compare Source](https://togithub.com/facebook/jest/compare/v26.4.1...v26.4.2) ##### Fixes - `[expect]` Fix `toMatchObject` to work with inherited class getters ([#10381](https://togithub.com/facebook/jest/pull/10381)) - `[pretty-format]` Lower minimum node version to >= 10 ([#10435](https://togithub.com/facebook/jest/pull/10435)) ### [`v26.4.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2641) [Compare Source](https://togithub.com/facebook/jest/compare/v26.4.0...v26.4.1) ##### Fixes - `[jest-core]` Don't report ELDHistogram as open handle ([#10417](https://togithub.com/facebook/jest/pull/10417)) - `[jest-matcher-utils]` Fix diffing object contain readonly symbol key object ([#10414](https://togithub.com/facebook/jest/pull/10414)) - `[jest-reporters]` Fixes notify reporter on Linux (using notify-send) ([#10393](https://togithub.com/facebook/jest/pull/10400)) - `[jest-snapshot]` Correctly handles arrays and property matchers in snapshots ([#10404](https://togithub.com/facebook/jest/pull/10404)) ### [`v26.4.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2640) [Compare Source](https://togithub.com/facebook/jest/compare/v26.3.0...v26.4.0) ##### Features - `[jest-resolve]` Add support for `packageFilter` on custom resolver ([#10393](https://togithub.com/facebook/jest/pull/10393)) ##### Fixes - `[pretty-format]` Handle `tagName` not being a string ([#10397](https://togithub.com/facebook/jest/pull/10397)) ### [`v26.3.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2630) [Compare Source](https://togithub.com/facebook/jest/compare/v26.2.2...v26.3.0) ##### Features - `[jest-circus, jest-jasmine2]` Include `failureDetails` property in test results ([#9496](https://togithub.com/facebook/jest/pull/9496)) - `[jest-each, jest-jasmine, jest-circus]` Add support for `.concurrent.each` ([#9326](https://togithub.com/facebook/jest/pull/9326)) ##### Fixes - `[jest-config]` Add `.pnp.js` to `transformIgnorePatterns` defaults ([#10383](https://togithub.com/facebook/jest/pull/10383)) - `[jest-leak-detector]` Wait properly for GC runs due to changes in Node 14.7 ([#10366](https://togithub.com/facebook/jest/pull/10366)) - `[jest-worker]` Downgrade minimum node version to 10.13 ([#10352](https://togithub.com/facebook/jest/pull/10352)) - `[docs]` Update snapshot testing documentation([#10359](https://togithub.com/facebook/jest/pull/10359)) ### [`v26.2.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2622) [Compare Source](https://togithub.com/facebook/jest/compare/v26.2.1...v26.2.2) ##### Fixes - `[jest-cli]` Use correct file name to override existing jest config on init ([#10337](https://togithub.com/facebook/jest/pull/10337)) - `[jest-haste-map]` Properly detect support for native `find` ([#10346](https://togithub.com/facebook/jest/pull/10346)) ### [`v26.2.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2621) [Compare Source](https://togithub.com/facebook/jest/compare/v26.2.0...v26.2.1) ##### Fixes - `[jest-worker]` Make sure to work with Node TS typings v12 ([#10336](https://togithub.com/facebook/jest/pull/10336)) ### [`v26.2.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2620) [Compare Source](https://togithub.com/facebook/jest/compare/v26.1.0...v26.2.0) ##### Features - `[jest-core, jest-circus, jest-reporter, jest-runner]` Added support for reporting individual test cases using jest-circus ([#10227](https://togithub.com/facebook/jest/pull/10227)) - `[jest-config, jest-reporter, jest-runner, jest-test-sequencer]` Add `slowTestThreshold` configuration option ([#9366](https://togithub.com/facebook/jest/pull/9366)) - `[jest-haste-map]` Watchman crawler now includes dotfiles ([#10075](https://togithub.com/facebook/jest/pull/10075)) - `[jest-worker]` Added support for workers to send custom messages to parent in jest-worker ([#10293](https://togithub.com/facebook/jest/pull/10293)) - `[jest-worker]` Support passing `resourceLimits` ([#10335](https://togithub.com/facebook/jest/pull/10335)) - `[pretty-format]` Added support for serializing custom elements (web components) ([#10217](https://togithub.com/facebook/jest/pull/10237)) ##### Fixes - `[expect]` Match symbols and bigints in `any()` ([#10223](https://togithub.com/facebook/jest/pull/10223)) - `[jest-changed-files]` Use `git diff` instead of `git log` for `--changedSince` ([#10155](https://togithub.com/facebook/jest/pull/10155)) - `[jest-console]` Add missing `console.timeLog` for compatibility with Node ([#10209](https://togithub.com/facebook/jest/pull/10209)) - `[jest-haste-map]` Check `find` binary supports the `-iname` parameter ([#10308](https://togithub.com/facebook/jest/pull/10308)) - `[jest-snapshot]` Strip added indentation for inline error snapshots ([#10217](https://togithub.com/facebook/jest/pull/10217)) ##### Chore & Maintenance - `[*]` Add missing dependency on `@types/node` ([#10248](https://togithub.com/facebook/jest/pull/10248)) - `[jest-jasmine2]` Convert `PCancelable` to TypeScript ([#10215](https://togithub.com/facebook/jest/pull/10215)) - `[jest-jasmine2]` Refine typings of `queueRunner` ([#10215](https://togithub.com/facebook/jest/pull/10215)) - `[jest-jasmine2]` Remove usage of `Function` type ([#10216](https://togithub.com/facebook/jest/pull/10216)) - `[jest-resolve]` Improve types ([#10239](https://togithub.com/facebook/jest/pull/10239)) - `[docs]` Clarify the [`jest.requireActual(moduleName)`](https://jestjs.io/docs/en/jest-object#jestrequireactualmodulename) example - `[jest-types]` Refine typings of `coverageReporters` ([#10275](https://togithub.com/facebook/jest/pull/10275)) ### [`v26.1.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2610) [Compare Source](https://togithub.com/facebook/jest/compare/v26.0.1...v26.1.0) ##### Features - `[jest-mock]` Export `Mock`, `MockInstance`, `SpyInstance` types ([#10138](https://togithub.com/facebook/jest/pull/10138)) - `[jest-config]` Support config files exporting (`async`) `function`s ([#10001](https://togithub.com/facebook/jest/pull/10001)) - `[jest-cli, jest-core]` Add `--selectProjects` CLI argument to filter test suites by project name ([#8612](https://togithub.com/facebook/jest/pull/8612)) - `[jest-cli, jest-init]` Add `coverageProvider` to `jest --init` prompts ([#10044](https://togithub.com/facebook/jest/pull/10044)) ##### Fixes - `[jest-console]` `getConsoleOutput` to receive global stack trace config and use it to format stack trace ([#10081](https://togithub.com/facebook/jest/pull/10081)) - `[jest-jasmine2]` Stop adding `:` after an error that has no message ([#9990](https://togithub.com/facebook/jest/pull/9990)) - `[jest-diff]` Control no diff message color with `commonColor` in diff options ([#9997](https://togithub.com/facebook/jest/pull/9997)) - `[jest-snapshot]` Fix TypeScript compilation ([#10008](https://togithub.com/facebook/jest/pull/10008)) ##### Chore & Maintenance - `[docs]` Correct confusing filename in `enableAutomock` example ([#10055](https://togithub.com/facebook/jest/pull/10055)) - `[jest-core]` πππππππππππππππππππππππππ ([#10000](https://togithub.com/facebook/jest/pull/10000)) - `[jest-core, jest-reporters, jest-test-result, jest-types]` Cleanup `displayName` type ([#10049](https://togithub.com/facebook/jest/pull/10049)) - `[jest-runtime]` Jest-internal sandbox escape hatch ([#9907](https://togithub.com/facebook/jest/pull/9907)) - `[jest-fake-timers]` Update `now` param type to support `Date` in addition to `number`. ([#10169](https://togithub.com/facebook/jest/pull/10169)) - `[docs]` Add param to `setSystemTime` docs and remove preceding period from it and `getRealSystemTime` ([#10169](https://togithub.com/facebook/jest/pull/10169)) - `[jest-snapshot, jest-util]` Replace `make-dir` with `fs.mkdir` ([#10136](https://togithub.com/facebook/jest/pull/10136)) - `[docs]` Added parcel-bundler documentation inside readme.md file ##### Performance - `[jest-core, jest-transform, jest-haste-map]` Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances ([#10131](https://togithub.com/facebook/jest/pull/10131)) ### [`v26.0.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2601) [Compare Source](https://togithub.com/facebook/jest/compare/v26.0.0...v26.0.1) ##### Fixes - `[jest-circus]` Backward compatibility for deprecated `DescribeBlock.tests` to not break e.g. Detox reporter ### [`v26.0.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2600) [Compare Source](https://togithub.com/facebook/jest/compare/v25.5.4...v26.0.0) ##### Features - `[jest-environment-jsdom]` [**BREAKING**] Upgrade `jsdom` to v16 ([#9606](https://togithub.com/facebook/jest/pull/9606)) - `[@jest/fake-timers]` Add possibility to use a modern implementation of fake timers, backed by `@sinonjs/fake-timers` ([#7776](https://togithub.com/facebook/jest/pull/7776)) - `[jest-runtime]` Add `createMockFromModule` as an alias for `genMockFromModule` ([#9962](https://togithub.com/facebook/jest/pull/9962)) ##### Fixes - `[babel-jest]` Handle `null` being passed to `createTransformer` ([#9955](https://togithub.com/facebook/jest/pull/9955)) - `[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]` Fix time durating formatting and consolidate time formatting code ([#9765](https://togithub.com/facebook/jest/pull/9765)) - `[jest-circus]` [**BREAKING**] Fail tests if a test takes a done callback and have return values ([#9129](https://togithub.com/facebook/jest/pull/9129)) - `[jest-circus]` [**BREAKING**] Throw a proper error if a test / hook is defined asynchronously ([#8096](https://togithub.com/facebook/jest/pull/8096)) - `[jest-circus]` Throw more descriptive error if hook is defined inside test ([#9957](https://togithub.com/facebook/jest/pull/9957)) - `[jest-circus]` [**BREAKING**] Align execution order of tests to match `jasmine`'s top to bottom order ([#9965](https://togithub.com/facebook/jest/pull/9965)) - `[jest-config, jest-resolve]` [**BREAKING**] Remove support for `browser` field ([#9943](https://togithub.com/facebook/jest/pull/9943)) - `[jest-haste-map]` Stop reporting files as changed when they are only accessed ([#7347](https://togithub.com/facebook/jest/pull/7347)) - `[jest-resolve]` Show relative path from root dir for `module not found` errors ([#9963](https://togithub.com/facebook/jest/pull/9963)) - `[jest-runtime]` Fix absolute path moduleNameMapper + jest.mock bug ([#8727](https://togithub.com/facebook/jest/pull/8727)) ##### Chore & Maintenance - `[*]` [**BREAKING**] TypeScript definitions requires a minimum of TypeScript v3.8 ([#9823](https://togithub.com/facebook/jest/pull/9823)) - `[*]` [**BREAKING**] Drop support for Node 8 ([#9423](https://togithub.com/facebook/jest/pull/9423)) - `[*]` Upgrade to chalk@4 ([#9752](https://togithub.com/facebook/jest/pull/9752)) - `[*]` Remove usage of `realpath-native` ([#9952](https://togithub.com/facebook/jest/pull/9952)) - `[docs]` Fix example reference implementation to use Jest with Phabricator ([#8662](https://togithub.com/facebook/jest/pull/8662)) - `[docs]` Added default compiler to tranform ([#8583](https://togithub.com/facebook/jest/pull/8583)) - `[docs]` Updated Testing Frameworks guide with React; make it generic ([#9106](https://togithub.com/facebook/jest/pull/9106)) - `[expect, jest-mock, pretty-format]` [**BREAKING**] Remove `build-es5` from package ([#9945](https://togithub.com/facebook/jest/pull/9945)) - `[@jest/fake-timers, @jest/environment]` [**BREAKING**] Rename `LolexFakeTimers` to `ModernFakeTimers` ([#9960](https://togithub.com/facebook/jest/pull/9960)) - `[jest-haste-map]` [**BREAKING**] removed `providesModuleNodeModules` ([#8535](https://togithub.com/facebook/jest/pull/8535)) - `[jest-runtime]` [**BREAKING**] Remove long-deprecated `require.requireActual` and `require.requireMock` methods ([#9854](https://togithub.com/facebook/jest/pull/9854))Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.