Add vitest.config.mts with node environment and v8 coverage. Add test:watch and test:coverage scripts to package.json. Complete .env.example with all config fields from loader.ts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
264 B
TypeScript
12 lines
264 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "lcov"],
|
|
include: ["src/**/*.ts"],
|
|
exclude: ["src/index.ts"],
|
|
},
|
|
},
|
|
});
|