We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e70e1 commit 3a7d32fCopy full SHA for 3a7d32f
src/content/github/file/main.tsx
@@ -282,7 +282,7 @@ function calculateCoveragePct(coverageReport: FileCoverageReport): number {
282
const report = Object.entries(coverageReport);
283
const totalLines = report.length;
284
const coveredLines = report.filter(
285
- ([line, status]) => status !== CoverageStatus.UNCOVERED
+ ([line, status]) => status === CoverageStatus.COVERED
286
).length;
287
return (coveredLines * 100) / totalLines;
288
}
0 commit comments