ask for advice on code coverage of automated testing
0
karma:
./index.js:
spec.js:
srcContext../../app/common/js/:
however, there is a problem with the number of coverage, good side
ask for advice on code coverage of automated testing
0
karma:
./index.js:
spec.js:
srcContext../../app/common/js/:
however, there is a problem with the number of coverage, good side
solved--
but unexpectedly no one answered, so how did you solve it
?
how to solve this problem? Big brother, I am also like this
1. To check whether babelrc has env--test configuration, you need to use the "istanbul" plug-in
2.karma.conf.js webpack option to see whether webpack.config.js uses the babel-loader
3.karma.conf.js reporters option to add 'converage'