mirror of
https://github.com/samiyev/puaros.git
synced 2025-12-27 23:06:54 +05:00
28 lines
726 B
TypeScript
28 lines
726 B
TypeScript
import { defineConfig } from "vitest/config"
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: "node",
|
|
include: ["tests/**/*.test.ts"],
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "html", "lcov"],
|
|
include: ["src/**/*.ts", "src/**/*.tsx"],
|
|
exclude: [
|
|
"src/**/*.d.ts",
|
|
"src/**/index.ts",
|
|
"src/**/*.test.ts",
|
|
"src/tui/**/*.ts",
|
|
"src/tui/**/*.tsx",
|
|
],
|
|
thresholds: {
|
|
lines: 95,
|
|
functions: 95,
|
|
branches: 90,
|
|
statements: 95,
|
|
},
|
|
},
|
|
},
|
|
})
|