Commit c692be7
committed
fix: use monocart for e2e coverage to align line counts with vitest
c8's default v8-to-istanbul produces inflated line counts (e.g. 212 vs
57 for the same file) because it maps all source lines including types
and imports. monocart-coverage-reports uses AST analysis to count only
executable lines, producing line counts within 1-3 of vitest's output.
This enables proper Codecov merging of unit + e2e coverage.1 parent 00b5373 commit c692be7
2 files changed
+62
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments