import { defineConfig } from "vitest/config"; export default defineConfig({ test: { globals: true, environment: "node", include: ["tests/**/*.test.ts"], coverage: { provider: "v8", reporter: ["text", "json", "html"], include: ["src/**/*.ts"], exclude: ["src/**/*.d.ts", "src/index.ts"], thresholds: { // Current overall coverage: ~64% (only subprocess.ts well tested) // Set realistic thresholds until more files are tested lines: 60, functions: 40, branches: 60, statements: 60, }, }, }, });