question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update to Jest 27

See original GitHub issue

There’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:closed
  • Created 2 years ago
  • Reactions:15
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
krreetcommented, Sep 3, 2021

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.

3reactions
krreetcommented, Aug 28, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found