pocesar/grunt-mocha-istanbul

Untested files in test coverage report

Closed this issue · 2 comments

I am not sure if this is already being answered here but I need help.

I am trying to include the files for which no tests exist in coverage report.

I see that "--include-all-sources" does that for istanbul https://github.com/gotwarlost/istanbul/blob/ad8ab1d7a5284407efb83d0d7a8b32eb6fbd93c4/lib/command/common/run-with-cover.js#L38

Is it possible to suggest if grunt-mocha-istanbul has something where I can get uncovered files in the coverage report?

Thanks!

I was able to figure it out, so closing the issue.

just making sure if other people want the solution, add ['--include-all-sources'] to istanbulOptions