mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
30 lines
767 B
TypeScript
30 lines
767 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import path from "node:path";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "node",
|
|
include: ["tests/**/*.test.ts", "packages/**/*.test.ts"],
|
|
exclude: ["**/node_modules/**", "**/dist/**", "profiling/**", ".agents/**"],
|
|
testTimeout: 1200_000,
|
|
hookTimeout: 1200_000,
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "json", "json-summary", "html"],
|
|
include: ["src/**", "packages/*/src/**"],
|
|
exclude: ["test-project/**", "tests/**", "vitest.config.ts"],
|
|
thresholds: {
|
|
lines: 80,
|
|
functions: 80,
|
|
branches: 80,
|
|
statements: 80,
|
|
},
|
|
},
|
|
},
|
|
});
|