Files
agentic-dev/coverage/summary.json
Danijel Martinek 0d4be0a4f4 fix(coverage): exempt .d.ts files from diff coverage gate
Ambient declaration files have no runtime code so v8 coverage
never generates DA records for them. Without an allowlist entry,
coverage:diff reports no-coverage-data for every .d.ts in the
diff. Add /\.d\.ts$/ to ALLOWED_GLOBS with a companion test.

Also configure @vitest/coverage-v8 for core-shared and add
targeted vitest exclusions for infrastructure files that are not
unit-testable (DI symbols, interface files, tRPC context, Sentry
SDK init) — bringing core-shared into the L2 aggregate and making
the L1 diff gate enforce coverage on new executable code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 18:26:50 +00:00

119 lines
2.2 KiB
JSON

{
"generatedAt": "2026-05-18T18:25:58.074Z",
"commit": "a94e803",
"repo": {
"statements": 96.34,
"branches": 91.41,
"functions": 96.76,
"lines": 96.34,
"counts": {
"lf": 4100,
"lh": 3950,
"brf": 768,
"brh": 702,
"fnf": 247,
"fnh": 239
}
},
"byPackage": {
"@repo/auth": {
"statements": 93.81,
"branches": 90.82,
"functions": 100,
"lines": 93.81,
"counts": {
"lf": 791,
"lh": 742,
"brf": 98,
"brh": 89,
"fnf": 44,
"fnh": 44
}
},
"@repo/blog": {
"statements": 96.36,
"branches": 88.65,
"functions": 100,
"lines": 96.36,
"counts": {
"lf": 741,
"lh": 714,
"brf": 141,
"brh": 125,
"fnf": 29,
"fnh": 29
}
},
"@repo/core-analytics": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"counts": {
"lf": 52,
"lh": 52,
"brf": 12,
"brh": 12,
"fnf": 10,
"fnh": 10
}
},
"@repo/core-shared": {
"statements": 97.75,
"branches": 95.54,
"functions": 91.58,
"lines": 97.75,
"counts": {
"lf": 935,
"lh": 914,
"brf": 269,
"brh": 257,
"fnf": 95,
"fnh": 87
}
},
"@repo/marketing-pages": {
"statements": 95.64,
"branches": 83.93,
"functions": 100,
"lines": 95.64,
"counts": {
"lf": 711,
"lh": 680,
"brf": 112,
"brh": 94,
"fnf": 32,
"fnh": 32
}
},
"@repo/media": {
"statements": 97.15,
"branches": 90.63,
"functions": 100,
"lines": 97.15,
"counts": {
"lf": 561,
"lh": 545,
"brf": 96,
"brh": 87,
"fnf": 24,
"fnh": 24
}
},
"@repo/navigation": {
"statements": 98.06,
"branches": 95,
"functions": 100,
"lines": 98.06,
"counts": {
"lf": 309,
"lh": 303,
"brf": 40,
"brh": 38,
"fnf": 13,
"fnh": 13
}
}
}
}