Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
官方给出的例子是基于 taro 2.x 的
首先需要 build:h5,出现 .temp 文件夹的中间代码 再对里面的组件进行引用,run test
taro3.x 进行build:h5以后,并没有出现 .temp 文件夹, 本人尝试了各种办法,总是在报错,没法在taro3.x 下使用 jest。 github 内有关 3.x + jest 的项目,我也下载下来尝试了, 但是 run test 也是失败的。
同问,我也一直没成功
同问,taro 3 如何进行单元测试