I can't generate a cobertura report with Istanbul running my mocha tests.
istanbul report cobertura cover _mocha test
The report in cobertura-coverage.xml is empty.
Note that if I run without report option ( istanbul cover _mocha test
) everything works fine and I can see in the console the coverage summary.
Any ideas what I'm doing wrong?
Correct one is...
istanbul cover --report cobertura _mocha tests
Cover followed by --report cobertura
对于纽约市其
nyc --reporter cobertura mocha test
你错过了--
:
istanbul cover --report cobertura _mocha test
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.