Files
eleith 1f486fa485
ci/woodpecker/push/calendar Pipeline was successful
ci/woodpecker/push/cli Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/jobs Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
test: count all source files in leaf-package coverage
Add coverage.include: ['src/**/*.ts'] to the five leaf packages' vitest
configs so untested source files enter the coverage denominator instead of
being invisible. Today it's a no-op — every logic module is already imported
by a test; only index.ts barrels and types.ts are unmeasured, and they carry
no statements — but it turns the threshold into a guard: a future untested
module shows as 0% and fails CI rather than passing silently. All five still
meet their existing thresholds.
2026-07-21 07:04:17 -07:00

16 lines
233 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
coverage: {
include: ['src/**/*.ts'],
thresholds: {
statements: 80,
branches: 80,
functions: 80,
lines: 80
}
}
}
});