generated from nhcarrigan/template
e02827dbb6
- vampire blood production tick with thrall bloodPerSecond + multipliers - auto-quest and auto-thrall purchase in tick engine - computeVampireBloodPerSecond helper exposed for ResourceBar display - ResourceBar now shows blood/s and currency balances for vampire mode - vampire quests and thralls panels gain auto-toggle buttons - About page updated with vampire mode how-to-play entries - vampireEquipmentSets data file added to web - 100% test coverage across all API routes and services: - siring, awakening, vampireBoss, vampireCraft, vampireExplore, vampireUpgrade - debug route now covers grant-apotheosis endpoint - vampireMaterials excluded from coverage (ID-referenced only, same as goddessMaterials)
28 lines
770 B
TypeScript
28 lines
770 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/**/*.ts"],
|
|
exclude: [
|
|
"src/types/**/*.ts",
|
|
"src/db/client.ts",
|
|
"src/index.ts",
|
|
"src/data/materials.ts",
|
|
// Goddess materials data file — not directly imported by any route (referenced by ID strings only)
|
|
"src/data/goddessMaterials.ts",
|
|
// Vampire materials data file — not directly imported by any route (referenced by ID strings only)
|
|
"src/data/vampireMaterials.ts",
|
|
],
|
|
thresholds: {
|
|
statements: 100,
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
},
|
|
},
|
|
include: ["test/**/*.spec.ts"],
|
|
},
|
|
});
|