Update jest2 to the latest version 🚀 #43
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
There have been updates to the jest2 monorepo:
devDependencyexpect was updated from25.5.0to26.0.0.These versions are not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
This monorepo update includes releases of one or more dependencies which all belong to the jest2 group definition.
Publisher: simenb
License: MIT
Release Notes for 26.0.0
Features
[jest-environment-jsdom][BREAKING] Upgradejsdomto v16 (#9606)[@jest/fake-timers]Add possibility to use a modern implementation of fake timers, backed by@sinonjs/fake-timers(#7776)[jest-runtime]AddcreateMockFromModuleas an alias forgenMockFromModule(#9962)Fixes
[babel-jest]Handlenullbeing passed tocreateTransformer(#9955)[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]Fix time durating formatting and consolidate time formatting code (#9765)[jest-circus][BREAKING] Fail tests if a test takes a done callback and have return values (#9129)[jest-circus][BREAKING] Throw a proper error if a test / hook is defined asynchronously (#8096)[jest-circus]Throw more descriptive error if hook is defined inside test (#9957)[jest-circus][BREAKING] Align execution order of tests to matchjasmine's top to bottom order (#9965)[jest-config, jest-resolve][BREAKING] Remove support forbrowserfield (#9943)[jest-haste-map]Stop reporting files as changed when they are only accessed (#7347)[jest-resolve]Show relative path from root dir formodule not founderrors (#9963)[jest-runtime]Fix absolute path moduleNameMapper + jest.mock bug (#8727)Chore & Maintenance
[*][BREAKING] TypeScript definitions requires a minimum of TypeScript v3.8 (#9823)[*][BREAKING] Drop support for Node 8 (#9423)[*]Upgrade to chalk@4 (#9752)[*]Remove usage ofrealpath-native(#9952)[docs]Fix example reference implementation to use Jest with Phabricator (#8662)[docs]Added default compiler to tranform (#8583)[docs]Updated Testing Frameworks guide with React; make it generic (#9106)[expect, jest-mock, pretty-format][BREAKING] Removebuild-es5from package (#9945)[@jest/fake-timers, @jest/environment][BREAKING] RenameLolexFakeTimerstoModernFakeTimers(#9960)[jest-haste-map][BREAKING] removedprovidesModuleNodeModules(#8535)[jest-runtime][BREAKING] Remove long-deprecatedrequire.requireActualandrequire.requireMockmethods (#9854)Commits
The new version differs by 129 commits.
343532av26.0.0075854achore: update changelog for release68b65afv26.0.0-alpha.2d30a586fix: disallow hook definitions in tests (#9957)3375ac3chore: remove unused prettier uninstall step from CI0a63d40fix: absolute path moduleNameMapper + jest.mock issue (#8727)03dbb2fchore: fix watch mode test with utimes (#9967)68d12d5chore: skip broken test on windows (#9966)e8e8146align circus with jasmine's top-to-bottom execution order (#9965)968a301Fix invalid re-run of tests in watch mode (#7347)5d1be03chore: fix windows CI (#9964)2bac04fv26.0.0-alpha.1c665f22feat: addcreateMockFromModuleto replacegenMockFromModule(#9962)8147af1chore: improve error on module not found (#9963)71631f6feat: add new 'modern' implementation of Fake Timers (#7776)There are 129 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴