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
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.
16 lines
233 B
TypeScript
16 lines
233 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
include: ['src/**/*.ts'],
|
|
thresholds: {
|
|
statements: 68,
|
|
branches: 68,
|
|
functions: 68,
|
|
lines: 68
|
|
}
|
|
}
|
|
}
|
|
});
|