好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

Jest的statement,branch,function,line指标含义

 

%stmts是语句覆盖率(statement coverage):是不是每个语句都执行了? %Branch分支覆盖率(branch coverage):是不是每个if代码块都执行了? %Funcs函数覆盖率(function coverage):是不是每个函数都调用了? %Lines行覆盖率(line coverage):是不是每一行都执行了?

查看更多关于Jest的statement,branch,function,line指标含义的详细内容...

  阅读:34次