Closed
Description
Summary
I'm generating test coverage using Jest (Istanbul) and outputting an lcov.info
file. When I open this file in Istanbul's HTML report (and online viewers like lcov-viewer.netlify.app), I get function coverage of 73%.
However, when I feed the same lcov.info
into ReportGenerator, it shows 95% function coverage. Line and branch coverage match exactly across all tools. The function coverage is significantly higher only in ReportGenerator.
Steps to Reproduce
- Generate test coverage via Jest
- Use
coverageReporters: ["lcovonly", "html", "json-summary"]
- Feed
lcov.info
into ReportGenerator - Compare function coverage with Istanbul HTML and JSON summary