mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
29 lines
590 B
TypeScript
29 lines
590 B
TypeScript
import { defineConfig } from "vitest/config";
|
|||
|
|
import path from "path";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
environment: "jsdom",
|
||
|
|
globals: true,
|
||
|
|
setupFiles: ["./src/test/setup.ts"],
|
||
|
|
coverage: {
|
||
|
|
provider: "v8",
|
||
|
|
include: [
|
||
|
|
"src/components/business/company-scorecard-card.tsx",
|
||
|
|
],
|
||
|
|
thresholds: {
|
||
|
|
lines: 80,
|
||
|
|
functions: 80,
|
||
|
|
branches: 80,
|
||
|
|
statements: 80,
|
||
|
|
},
|
||
|
|
reporter: ["text", "lcov", "json-summary"],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
"@": path.resolve(__dirname, "./src"),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|