create-react-app 将jest升级到v28,以便可以使用分片,

8ulbf1ek  于 22天前  发布在  React
关注(0)|答案(6)|浏览(14)

你的提案是否与问题有关?

测试越多,Jest运行速度越慢。

描述你希望的解决方案

升级到Jest v28,这样就可以使用分片功能。

描述你考虑过的替代方案

我没有想到其他替代方案。

附加上下文

一些链接

$x_{1e0f1}x$

$x_{1e1f1}x$

jum4pzuy

jum4pzuy1#

我们还需要Inline testEnvironmentOptions,如果能看到这个发生就太酷了 :) https://jestjs.io/blog/2022/04/25/jest-28#inline-testenvironmentoptions

vs3odd8k

vs3odd8k3#

对于PR的合并,有任何计划在近期内进行吗?

iyfjxgzm

iyfjxgzm4#

关于PR合并的计划,有任何安排吗?
CI已经通过审核,等待批准🤷‍♂️
但我无法做出决定。

ivqmmu1c

ivqmmu1c5#

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.

相关问题