15 lines
418 B
TypeScript
15 lines
418 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
include: ["test/**/*.test.ts"],
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "json-summary"],
|
|
include: ["src/security/**/*.ts", "src/plugins/authentication.ts", "src/routes/auth.ts"],
|
|
thresholds: { statements: 70, branches: 60, functions: 70, lines: 70 },
|
|
},
|
|
},
|
|
});
|