bit.dev CLI在运行bit test <component-pattern>时似乎不尊重-u标志。我已经为组件生成了快照,并且测试失败了
4 snapshots failed from 1 test suite. Inspect your code changes or re-run jest with `-u` to update them.当尝试将-u标志传递为bit test <component-pattern> -u时,它将失败
Unknown argument: u如何使用位cli测试命令更新快照?
发布于 2022-07-20 09:18:11
不行,除非您扩展您所使用的环境并添加此逻辑(您可以添加此标志以传递给jest config)。
https://stackoverflow.com/questions/72966288
复制相似问题