摘要: 转载自: https://semaphoreci.com/community/tutorials/how-to-test-react-and-mobx-with-jest?utm_content=buffer15b42&utm_medium=social&utm_source=twitter.com 阅读全文
posted @ 2019-12-18 14:48 demoblog 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 三个参数代表什么? %stmts是语句覆盖率(statement coverage):是不是每个语句都执行了? %Branch分支覆盖率(branch coverage):是不是每个if代码块都执行了? %Funcs函数覆盖率(function coverage):是不是每个函数都调用了? %Lin 阅读全文
posted @ 2019-12-18 11:08 demoblog 阅读(1784) 评论(0) 推荐(0) 编辑