import { defineConfig } from "vitest/config"; export default defineConfig({ test: { globals: true, environment: "node", coverage: { provider: "v8", // src/types/* are pure type-only re-export files and publicHolidays / // germanStates are static data constants. Exclude them — they drag // %Funcs down to ~55% while adding no real code-under-test. exclude: [ "src/types/**", "src/constants/publicHolidays.ts", "src/constants/germanStates.ts", "src/constants/index.ts", "**/*.d.ts", "**/__tests__/**", ], thresholds: { lines: 70, functions: 70, branches: 65, statements: 70, }, }, }, });