且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

纱线测试:所有测试均通过但返回“错误命令失败,退出代码为 1";

更新时间:2023-02-16 20:35:16

答案:

错误代码是由于线路覆盖率低于我定义的值 (90%).它已经告诉我行覆盖率 86.8% 低于用户定义的 90% 值,所以我认为纱线不太可能重复报告"该错误.

the error code was due to line coverage being below the value that I defined (90%). It already told me line coverage 86.8% is below user defined value of 90% so I thought it unlikely that yarn would "double report" that error.