Files
snapcad-studio/tests/vitest.perf.config.ts
T

19 lines
396 B
TypeScript
Raw Permalink Normal View History

2026-06-14 22:05:58 +03:00
import path from "node:path";
import { defineConfig } from "vitest/config";
2026-06-14 22:13:13 +03:00
const rootDir = path.resolve(__dirname, "..");
2026-06-14 22:05:58 +03:00
export default defineConfig({
2026-06-14 22:13:13 +03:00
root: rootDir,
2026-06-14 22:05:58 +03:00
resolve: {
alias: {
2026-06-14 22:13:13 +03:00
"@": path.resolve(rootDir, "apps/web/src"),
2026-06-14 22:05:58 +03:00
},
},
test: {
environment: "node",
2026-06-14 22:13:13 +03:00
include: ["tests/perf/**/*.perf.ts"],
2026-06-14 22:05:58 +03:00
testTimeout: 120000,
hookTimeout: 120000,
},
});