老师,请问怎么让控制台显示我的具体文件测试的代码覆盖率?
来源:5-5 添加Button 测试代码 第二部分

慕侠0187444
2020-04-24
scripts 里面 “test”: “react-scripts test --coverage” 之后不知道怎么写了
写回答
1回答
-
张轩
2020-04-26
同学你好 要关闭 watch 功能才能显示 coverage 命令如下
react-scripts test --coverage --watchAll=false
032020-04-27
相似问题