create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Upgrade jest to v28 so that sharding is available.

Open christo8989 opened this issue 3 years ago • 4 comments

Is your proposal related to a problem?

The more tests the slower jest runs.

Describe the solution you'd like

Upgrade to jest v28 so sharding will be available.

Describe alternatives you've considered

I don't have an alternative in mind.

Additional context

Some links

https://medium.com/@mfreundlich1/speed-up-your-jest-tests-with-shards-776e9f02f637 https://jestjs.io/blog/2022/04/25/jest-28

christo8989 avatar May 27 '22 19:05 christo8989

We also have a need for Inline testEnvironmentOptions, would be cool to see this happen :) https://jestjs.io/blog/2022/04/25/jest-28#inline-testenvironmentoptions

alfondotnet avatar Aug 05 '22 17:08 alfondotnet

👋 A PR ready here. https://github.com/facebook/create-react-app/pull/12662

jean-smaug avatar Aug 17 '22 10:08 jean-smaug

Any plans for that PR to merged any time soon?

pinkfloydx33 avatar Oct 06 '22 22:10 pinkfloydx33

Any plans for that PR to merged any time soon?

CI is green, waiting for approval 🤷‍♂️ But I can't decide.

jean-smaug avatar Oct 10 '22 10:10 jean-smaug

Can the PR go in please? What's the hold-up since August?

We are facing problems with using fake timers together with promises in Jest 27.

chriswilty avatar Jan 09 '23 16:01 chriswilty

@mrmckeb

alfondotnet avatar Feb 03 '23 21:02 alfondotnet