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
24 lines
504 B
TypeScript
24 lines
504 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
provider: "v8",
|
|
include: [
|
|
"src/interfaces/companion.ts",
|
|
"src/interfaces/equipmentSet.ts",
|
|
"src/interfaces/profileSettings.ts",
|
|
"src/interfaces/story.ts",
|
|
],
|
|
exclude: [],
|
|
thresholds: {
|
|
statements: 100,
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
},
|
|
},
|
|
include: ["test/**/*.spec.ts"],
|
|
},
|
|
});
|