|
|
|
|
|
by meese712
1087 days ago
|
|
Think the biggest slow down is from it running all the test suites in isolation in separate contexts (think that's the right word). I got frustrated with how slow our frontend tests were one day like 4 years ago and wrote a hacky jest runtime that reused the context unless it detected jest.mock or jest.spy or timer stuff in the file it was on. It speed it up by 2x with cache cleared. It was still pretty slow though... There was also an existing issue opened requesting this to be built in by a lot of people and facebook said lol no. |
|