19 lines
360 B
TypeScript
19 lines
360 B
TypeScript
|
|
import { defineConfig } from "vitest/config";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
include: ["tests/**/*.test.ts"],
|
||
|
|
coverage: {
|
||
|
|
provider: "v8",
|
||
|
|
include: ["src/**/*.ts"],
|
||
|
|
exclude: ["src/index.ts"],
|
||
|
|
thresholds: {
|
||
|
|
lines: 80,
|
||
|
|
functions: 80,
|
||
|
|
branches: 80,
|
||
|
|
statements: 80,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|