gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 785 forks source link

No coverage information was collected, exit without writing coverage information es6 #905

Open tang9716 opened 5 years ago

tang9716 commented 5 years ago

"cover": "istanbul cover _mocha test/mocha.js"

运行npm run cover报错