Files
strategic/vitest.config.ts

36 lines
636 B
TypeScript
Raw Normal View History

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
globals: true,
environment: "node",
include: ["tests/**/*.test.ts"],
coverage: {
provider: "v8",
reporter: ["text", "json", "html"],
exclude: [
"node_modules/",
"dist/",
"contracts/",
"tests/",
"**/*.config.ts",
"**/*.d.ts"
],
thresholds: {
lines: 80,
functions: 80,
branches: 75,
statements: 80
}
},
testTimeout: 30000,
hookTimeout: 30000
},
resolve: {
alias: {
"@": "./src"
}
}
});