vitest.config.ts
This file
Path
vitest.config.ts
15 lines · 370 bytes · TypeScript
Last changed by
chore: fix #3Michel Weststratebefore adoption0f237bd
History of this fileTake it
12345678910111213141516import {defineConfig} from "vitest/config"
export default defineConfig({ test: { environment: "node", include: ["**/__tests__/**/*.[jt]s?(x)"], globals: true, setupFiles: [], coverage: { provider: "v8", // default in Vitest 3 reporter: ["text", "lcov"], // add "lcov" here reportsDirectory: "./coverage" // makes sure lcov.info lands here } }})