Z
Z
zorro32021-04-22 15:10:35
Unit testing
zorro3, 2021-04-22 15:10:35

Which library should I choose to add code coverage to mocha unit tests in a vue.js application?

Please advise a library to add code coverage, mocha unit tests are used in a vue.js application. I tried nyc with istanbul-instrument-loader but it only worked to cover .js files, on .vue
files I got this error: "Cannot read property 'fileCoverage' of undefined"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question