Closed renovate[bot] closed 5 years ago
Merging #24 into master will increase coverage by
9.67%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #24 +/- ##
==========================================
+ Coverage 70.96% 80.64% +9.67%
==========================================
Files 5 5
Lines 31 31
Branches 6 4 -2
==========================================
+ Hits 22 25 +3
+ Misses 7 6 -1
+ Partials 2 0 -2
Impacted Files | Coverage Δ | |
---|---|---|
src/utils/writeFileSync.js | 0% <0%> (ø) |
:arrow_up: |
src/index.js | 0% <0%> (ø) |
:arrow_up: |
src/utils/importReactIntl.js | 100% <0%> (ø) |
:arrow_up: |
src/utils/getMessages.js | 100% <0%> (ø) |
:arrow_up: |
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 e9a535a...275e39c. Read the comment docs.
This PR contains the following updates:
22.1.0
->23.6.0
22.1.4
->23.6.0
Release Notes
facebook/jest
### [`v23.6.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2360) [Compare Source](https://togithub.com/facebook/jest/compare/v23.4.2...v23.6.0) ##### Features - `[jest-cli]` Add `changedSince` to allowed watch mode configs ([#6955](https://togithub.com/facebook/jest/pull/6955)) - `[babel-jest]` Add support for `babel.config.js` added in Babel 7.0.0 ([#6911](https://togithub.com/facebook/jest/pull/6911)) - `[jest-resolve]` Add support for an experimental `mapper` option (Watchman crawler only) that adds virtual files to the Haste map ([#6940](https://togithub.com/facebook/jest/pull/6940)) ##### Fixes - `[jest-resolve]` Only resolve realpath once in try-catch ([#6925](https://togithub.com/facebook/jest/pull/6925)) - `[expect]` Fix TypeError in `toBeInstanceOf` on `null` or `undefined` ([#6912](https://togithub.com/facebook/jest/pull/6912)) - `[jest-jasmine2]` Throw a descriptive error if the first argument supplied to a hook was not a function ([#6917](https://togithub.com/facebook/jest/pull/6917)) and ([#6931](https://togithub.com/facebook/jest/pull/6931)) - `[jest-circus]` Throw a descriptive error if the first argument supplied to a hook was not a function ([#6917](https://togithub.com/facebook/jest/pull/6917)) and ([#6931](https://togithub.com/facebook/jest/pull/6931)) - `[expect]` Fix variadic custom asymmetric matchers ([#6898](https://togithub.com/facebook/jest/pull/6898)) - `[jest-cli]` Fix incorrect `testEnvironmentOptions` warning ([#6852](https://togithub.com/facebook/jest/pull/6852)) - `[jest-each]` Prevent done callback being supplied to describe ([#6843](https://togithub.com/facebook/jest/pull/6843)) - `[jest-config]` Better error message for a case when a preset module was found, but no `jest-preset.js` or `jest-preset.json` at the root ([#6863](https://togithub.com/facebook/jest/pull/6863)) - `[jest-haste-map]` Catch crawler error when unsuccessfully reading directories ([#6761](https://togithub.com/facebook/jest/pull/6761)) ##### Chore & Maintenance - `[docs]` Add custom toMatchSnapshot matcher docs ([#6837](https://togithub.com/facebook/jest/pull/6837)) - `[docs]` Improve the documentation regarding preset configuration ([#6864](https://togithub.com/facebook/jest/issues/6864)) - `[docs]` Clarify usage of `--projects` CLI option ([#6872](https://togithub.com/facebook/jest/pull/6872)) - `[docs]` Correct `failure-change` notification mode ([#6878](https://togithub.com/facebook/jest/pull/6878)) - `[scripts]` Don’t remove node_modules from subdirectories of presets in e2e tests ([#6948](https://togithub.com/facebook/jest/pull/6948)) - `[diff-sequences]` Double-check number of differences in tests ([#6953](https://togithub.com/facebook/jest/pull/6953)) ### [`v23.4.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2342) [Compare Source](https://togithub.com/facebook/jest/compare/v23.4.0...v23.4.2) ##### Performance - `[jest-changed-files]` limit git and hg commands to specified roots ([#6732](https://togithub.com/facebook/jest/pull/6732)) ##### Fixes - `[jest-circus]` Fix retryTimes so errors are reset before re-running ([#6762](https://togithub.com/facebook/jest/pull/6762)) - `[docs]` Update `expect.objectContaining()` description ([#6754](https://togithub.com/facebook/jest/pull/6754)) - `[babel-jest]` Make `getCacheKey()` take into account `createTransformer` options ([#6699](https://togithub.com/facebook/jest/pull/6699)) - `[jest-jasmine2]` Use prettier through `require` instead of `localRequire`. Fixes `matchInlineSnapshot` where prettier dependencies like `path` and `fs` are mocked with `jest.mock`. ([#6776](https://togithub.com/facebook/jest/pull/6776)) - `[docs]` Fix contributors link ([#6711](https://togithub.com/facebook/jest/pull/6711)) - `[website]` Fix website versions page to link to correct language ([#6734](https://togithub.com/facebook/jest/pull/6734)) - `[expect]` Update `toContain` suggestion to contain equal message ([#6792](https://togithub.com/facebook/jest/pull/6810)) ### [`v23.4.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2340) [Compare Source](https://togithub.com/facebook/jest/compare/v23.2.0...v23.4.0) ##### Features - `[jest-haste-map]` Add `computeDependencies` flag to avoid opening files if not needed ([#6667](https://togithub.com/facebook/jest/pull/6667)) - `[jest-runtime]` Support `require.resolve.paths` ([#6471](https://togithub.com/facebook/jest/pull/6471)) - `[jest-runtime]` Support `paths` option for `require.resolve` ([#6471](https://togithub.com/facebook/jest/pull/6471)) ##### Fixes - `[jest-runner]` Force parallel runs for watch mode, to avoid TTY freeze ([#6647](https://togithub.com/facebook/jest/pull/6647)) - `[jest-cli]` properly reprint resolver errors in watch mode ([#6407](https://togithub.com/facebook/jest/pull/6407)) - `[jest-cli]` Write configuration to stdout when the option was explicitly passed to Jest ([#6447](https://togithub.com/facebook/jest/pull/6447)) - `[jest-cli]` Fix regression on non-matching suites ([6657](https://togithub.com/facebook/jest/pull/6657)) - `[jest-runtime]` Roll back `micromatch` version to prevent regression when matching files ([#6661](https://togithub.com/facebook/jest/pull/6661)) ### [`v23.2.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2320) [Compare Source](https://togithub.com/facebook/jest/compare/v23.0.1...v23.2.0) ##### Features - `[jest-each]` Add support for keyPaths in test titles ([#6457](https://togithub.com/facebook/jest/pull/6457)) - `[jest-cli]` Add `jest --init` option that generates a basic configuration file with a short description for each option ([#6442](https://togithub.com/facebook/jest/pull/6442)) - `[jest.retryTimes]` Add `jest.retryTimes()` option that allows failed tests to be retried n-times when using jest-circus. ([#6498](https://togithub.com/facebook/jest/pull/6498)) ##### Fixes - `[docs]` Fixed error in documentation for expect.not.arrayContaining(array). ([#6491](https://togithub.com/facebook/jest/pull/6491)) - `[jest-cli]` Add check to make sure one or more tests have run before notifying when using `--notify` ([#6495](https://togithub.com/facebook/jest/pull/6495)) - `[jest-cli]` Pass `globalConfig` as a parameter to `globalSetup` and `globalTeardown` functions ([#6486](https://togithub.com/facebook/jest/pull/6486)) - `[jest-config]` Add missing options to the `defaults` object ([#6428](https://togithub.com/facebook/jest/pull/6428)) - `[expect]` Using symbolic property names in arrays no longer causes the `toEqual` matcher to fail ([#6391](https://togithub.com/facebook/jest/pull/6391)) - `[expect]` `toEqual` no longer tries to compare non-enumerable symbolic properties, to be consistent with non-symbolic properties. ([#6398](https://togithub.com/facebook/jest/pull/6398)) - `[jest-util]` `console.timeEnd` now properly log elapsed time in milliseconds. ([#6456](https://togithub.com/facebook/jest/pull/6456)) - `[jest-mock]` Fix `MockNativeMethods` access in react-native `jest.mock()` ([#6505](https://togithub.com/facebook/jest/pull/6505)) - `[jest-cli]` Fix `reporters` for `moduleName` = `'default'` ([#6542](https://togithub.com/facebook/jest/pull/6542)) ##### Chore & Maintenance - `[docs]` Add jest-each docs for 1 dimensional arrays ([#6444](https://togithub.com/facebook/jest/pull/6444/files)) ### [`v23.0.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2301) [Compare Source](https://togithub.com/facebook/jest/compare/v23.0.0...v23.0.1) ##### Chore & Maintenance - `[jest-jasemine2]` Add dependency on jest-each ([#6308](https://togithub.com/facebook/jest/pull/6308)) - `[jest-each]` Move jest-each into core Jest ([#6278](https://togithub.com/facebook/jest/pull/6278)) - `[examples]` Update typescript example to using ts-jest ([#6260](https://togithub.com/facebook/jest/pull/6260)) ##### Fixes - `[pretty-format]` Serialize inverse asymmetric matchers correctly ([#6272](https://togithub.com/facebook/jest/pull/6272)) ### [`v23.0.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2300) [Compare Source](https://togithub.com/facebook/jest/compare/v22.4.4...v23.0.0) ##### Features - `[expect]` Expose `getObjectSubset`, `iterableEquality`, and `subsetEquality` ([#6210](https://togithub.com/facebook/jest/pull/6210)) - `[jest-snapshot]` Add snapshot property matchers ([#6210](https://togithub.com/facebook/jest/pull/6210)) - `[jest-config]` Support jest-preset.js files within Node modules ([#6185](https://togithub.com/facebook/jest/pull/6185)) - `[jest-cli]` Add `--detectOpenHandles` flag which enables Jest to potentially track down handles keeping it open after tests are complete. ([#6130](https://togithub.com/facebook/jest/pull/6130)) - `[jest-jasmine2]` Add data driven testing based on `jest-each` ([#6102](https://togithub.com/facebook/jest/pull/6102)) - `[jest-matcher-utils]` Change "suggest to equal" message to be more advisory ([#6103](https://togithub.com/facebook/jest/issues/6103)) - `[jest-message-util]` Don't ignore messages with `vendor` anymore ([#6117](https://togithub.com/facebook/jest/pull/6117)) - `[jest-validate]` Get rid of `jest-config` dependency ([#6067](https://togithub.com/facebook/jest/pull/6067)) - `[jest-validate]` Adds option to inject `deprecationEntries` ([#6067](https://togithub.com/facebook/jest/pull/6067)) - `[jest-snapshot]` [**BREAKING**] Concatenate name of test, optional snapshot name and count ([#6015](https://togithub.com/facebook/jest/pull/6015)) - `[jest-runtime]` Allow for transform plugins to skip the definition process method if createTransformer method was defined. ([#5999](https://togithub.com/facebook/jest/pull/5999)) - `[expect]` Add stack trace for async errors ([#6008](https://togithub.com/facebook/jest/pull/6008)) - `[jest-jasmine2]` Add stack trace for timeouts ([#6008](https://togithub.com/facebook/jest/pull/6008)) - `[jest-jasmine2]` Add stack trace for thrown non-`Error`s ([#6008](https://togithub.com/facebook/jest/pull/6008)) - `[jest-runtime]` Prevent modules from marking themselves as their own parent ([#5235](https://togithub.com/facebook/jest/issues/5235)) - `[jest-mock]` Add support for auto-mocking generator functions ([#5983](https://togithub.com/facebook/jest/pull/5983)) - `[expect]` Add support for async matchers ([#5919](https://togithub.com/facebook/jest/pull/5919)) - `[expect]` Suggest toContainEqual ([#5948](https://togithub.com/facebook/jest/pull/5953)) - `[jest-config]` Export Jest's default options ([#5948](https://togithub.com/facebook/jest/pull/5948)) - `[jest-editor-support]` Move `coverage` to `ProjectWorkspace.collectCoverage` ([#5929](https://togithub.com/facebook/jest/pull/5929)) - `[jest-editor-support]` Add `coverage` option to runner ([#5836](https://togithub.com/facebook/jest/pull/5836)) - `[jest-haste-map]` Support extracting dynamic `import`s ([#5883](https://togithub.com/facebook/jest/pull/5883)) - `[expect]` Improve output format for mismatchedArgs in mock/spy calls. ([#5846](https://togithub.com/facebook/jest/pull/5846)) - `[jest-cli]` Add support for using `--coverage` in combination with watch mode, `--onlyChanged`, `--findRelatedTests` and more ([#5601](https://togithub.com/facebook/jest/pull/5601)) - `[jest-jasmine2]` [**BREAKING**] Adds error throwing and descriptive errors to `it`/ `test` for invalid arguments. `[jest-circus]` Adds error throwing and descriptive errors to `it`/ `test` for invalid arguments ([#5558](https://togithub.com/facebook/jest/pull/5558)) - `[jest-matcher-utils]` Add `isNot` option to `matcherHint` function ([#5512](https://togithub.com/facebook/jest/pull/5512)) - `[jest-config]` Add `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 if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot. View repository job log here.