mirror of
https://github.com/kuhyx/testsAndMisc-archive.git
synced 2026-07-04 15:23:06 +02:00
22 lines
463 B
TypeScript
22 lines
463 B
TypeScript
|
|
/// <reference types="vitest/config" />
|
||
|
|
import { defineConfig } from "vitest/config";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: "node",
|
||
|
|
include: ["src/**/*.test.ts"],
|
||
|
|
coverage: {
|
||
|
|
provider: "v8",
|
||
|
|
include: ["src/app/**/*.ts"],
|
||
|
|
exclude: ["**/*.test.ts", "**/*.d.ts"],
|
||
|
|
thresholds: {
|
||
|
|
statements: 100,
|
||
|
|
branches: 100,
|
||
|
|
functions: 100,
|
||
|
|
lines: 100,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|