generated from nhcarrigan/template
d1d1f70c75
- Fix strict-boolean-expressions in 7 route files (runtime body validation) - Fix no-unnecessary-condition in profile.ts and offlineProgress.ts (defensive null checks) - Extend v8 ignore next-N counts in game.ts to reach 100% coverage - Add CI requirements to CLAUDE.md (lint + build + test must pass before commit) - Add manual verification checklist (verify.md) - Remove progress.md
22 lines
414 B
TypeScript
22 lines
414 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
exclude: [],
|
|
include: [
|
|
"src/utils/format.ts",
|
|
"src/utils/dailyChallenges.ts",
|
|
],
|
|
provider: "v8",
|
|
thresholds: {
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
statements: 100,
|
|
},
|
|
},
|
|
include: ["test/**/*.spec.ts"],
|
|
},
|
|
});
|