[英]Adding code coverage to async node.js mocha tests in WebStorm
I am trying to set up code coverage for my node.js unit tests. 我正在尝试为我的node.js单元测试设置代码覆盖率。
What I am trying to do is this: 我想要做的是这样的:
The first two points are going fine, the third one is tripping me up. 前两点都很顺利,第三点是绊倒我。
不幸的是,WebStorm不为Mocha提供覆盖支持:(请按照WEB-10373进行更新
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.