istanbuljs / v8-to-istanbul

convert from v8 coverage format to istanbul's format
ISC License
115 stars 40 forks source link

fix: ignore lines have to be dropped from coverage and not to be included as covered #240

Closed anthony-redFox closed 9 months ago

anthony-redFox commented 9 months ago

Html coverage report base on statementMap and s then if line doesn't exists will be marked 'neutral' by default.

It will be repeat behavior "istanbul ignore"

anthony-redFox commented 9 months ago

Also add new commit which will be ignore empty lines and JavaScript comments

anthony-redFox commented 9 months ago

It will be excluded completely, so that mean you have 4 lines of code in report. (HTML report will marks as gray).

image

If you add more empty lines or comments then it is not effect on coverage report %