mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-02 22:52:58 +00:00
25 lines
677 B
TypeScript
25 lines
677 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@server": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
// Fake-timer suites freeze p-throttle's clock, so a real per-second cap deadlocks them.
|
|
env: {
|
|
PASEO_GIT_MAX_PROCESSES_PER_SECOND: "10000",
|
|
},
|
|
testTimeout: 30000,
|
|
hookTimeout: 60000,
|
|
globals: true,
|
|
environment: "node",
|
|
setupFiles: [path.resolve(__dirname, "./src/test-utils/vitest-setup.ts")],
|
|
pool: "forks",
|
|
fileParallelism: false,
|
|
exclude: ["**/node_modules/**", "**/dist/**", "**/.claude/**", "**/.dev/**"],
|
|
},
|
|
});
|