标签: angularjs karma-jasmine webpack karma-coverage
我正在尝试为角度项目设置单元测试的代码覆盖率。但它给了我一些错误。请参阅https://github.com/angular-class/NG6-starter/issues/58
答案 0 :(得分:0)
请参阅:https://github.com/packetloop/angular-webpack/blob/master/karma.conf.js
并添加文件:https://github.com/packetloop/angular-webpack/blob/master/spec.js