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:
devDependency
expect was updated from25.5.0
to26.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] Upgradejsdom
to v16 (#9606)[@jest/fake-timers]
Add possibility to use a modern implementation of fake timers, backed by@sinonjs/fake-timers
(#7776)[jest-runtime]
AddcreateMockFromModule
as an alias forgenMockFromModule
(#9962)Fixes
[babel-jest]
Handlenull
being 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 forbrowser
field (#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 found
errors (#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-es5
from package (#9945)[@jest/fake-timers, @jest/environment]
[BREAKING] RenameLolexFakeTimers
toModernFakeTimers
(#9960)[jest-haste-map]
[BREAKING] removedprovidesModuleNodeModules
(#8535)[jest-runtime]
[BREAKING] Remove long-deprecatedrequire.requireActual
andrequire.requireMock
methods (#9854)Commits
The new version differs by 129 commits.
343532a
v26.0.0
075854a
chore: update changelog for release
68b65af
v26.0.0-alpha.2
d30a586
fix: disallow hook definitions in tests (#9957)
3375ac3
chore: remove unused prettier uninstall step from CI
0a63d40
fix: absolute path moduleNameMapper + jest.mock issue (#8727)
03dbb2f
chore: fix watch mode test with utimes (#9967)
68d12d5
chore: skip broken test on windows (#9966)
e8e8146
align circus with jasmine's top-to-bottom execution order (#9965)
968a301
Fix invalid re-run of tests in watch mode (#7347)
5d1be03
chore: fix windows CI (#9964)
2bac04f
v26.0.0-alpha.1
c665f22
feat: add
createMockFromModule
to replacegenMockFromModule
(#9962)8147af1
chore: improve error on module not found (#9963)
71631f6
feat: 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 🌴