Update to Jest 27
See original GitHub issueThere’s a bugfix in React that we need to make. Unfortunately, there’s a risk of that change breaking some tests. In order to fix the tests, you’d have to upgrade Jest. But if you use Jest via CRA, you can’t do this directly.
We need to upgrade CRA to Jest 27 so that we can unblock React from making this bugfix. Jest 27 isn’t out yet, but we can start testing the integration using the 27.0.0-next.6
version.
Does anyone want to take this on?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:15
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Jest 27: New Defaults for Jest, 2021 edition
Firstly, the interactive mode you may know from reviewing and updating failed snapshots can now also be used to step through failed tests...
Read more >Stencil: Jest 27 Upgrade Instructions - Ionic Blog
Stencil v2.13.0 includes support for Jest v27, but does not require any project to upgrade their version of Jest at this time. You...
Read more >Upgrading from 26 to 27 breaks __mocks__ ... - GitHub
But every time I try to upgrade to Jest 27 this is a blocker.
Read more >Migrating unit tests to use Jest 27 - Project Beardy
Migrating unit tests to use Jest 27 ... skins that left me stumbling around when updating the Jest testing framework to the latest...
Read more >React Native jest 26 to jest 27 upgrade is painful, timeout and ...
try add into jestSetup file beforeEach(() => { // @ts-ignore global.requestAnimationFrame = function (callback: any) { setTimeout(callback, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @petetnt , @elektronik2k5 , @iansu , @mrmckeb , @SimenB , @gaearon , @sauldeleon .
Wanted to grab your attention to PR https://github.com/facebook/create-react-app/pull/11338 , which should close this issue and also this issue https://github.com/facebook/create-react-app/issues/9993 and few other related issues.
Please review the PR so that it can be merged. All the issues have been resolved and the PR should be good to merge.
@gaearon @SimenB @ankurkaushal
Please check this PR which updates jest to 27.1.0 https://github.com/facebook/create-react-app/pull/11338