Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

114
Views
Updating create-react-app to latest version breaks async tests

I have an issue, I have recently upgraded my version of react to use react-script version 5.0.1 from version 4.0.3. Doing the instructions as per https://github.com/facebook/create-react-app/blob/main/CHANGELOG.md

Upon doing this. I can see it had an upgrade for Jest 27. However now it has broken my async/await unit tests, I can see the issue was here: https://github.com/facebook/create-react-app/issues/10747

But it does not detail anywhere, how I can resolve this issue now, I can see it is for the async await tests that use MSW.

Has anyone encountered this or can shed some light on how to resolve?

Example test:

it('Should test data', async () => { render(<App />); 
const text = await screen.findByText('myTitle');
expect(tagText).toBeInTheDocument(); });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!