Update jest to 29
What does this MR do and why?
Update jest to 29
- This will help us use workerIdleMemoryLimit. I opened an MR to try this out over here !158522. I'm not noticing dramatically improved times, but the
head size
isn't going crazy so it'll probably help with some flakiness🤔 - !150196 (comment 1873162716)
What's needed to be tweaked to get pipelines passing?
-
Fix
nwsapi
package since there's a bug in later versions. -
Unset
prettierPath
since prettier 3 isn't supported in Jest 29. -
Fix problematic usage of recursive objects in
toMatchObject
. -
Patch
jest-mock
to undo an upstream change that effected the number of ticks that happened between promises. - Dedupe
yarn.lock
.
Edited by Paul Slaughter