cofacts / rumors-api

GraphQL API server for clients like rumors-site and rumors-line-bot
https://api.cofacts.tw
MIT License
109 stars 26 forks source link

Update dependency jest to v26 #203

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
jest (source) devDependencies major ^25.0.0 -> ^26.0.0

Release Notes

facebook/jest ### [`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.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 88.265% when pulling 84420bf9dcb005ce8aa0f04d518174cddb5f2fc4 on renovate/jest-26.x into a0a43a18523b0a595b15b48bef9a03c4102b8d73 on master.