mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
- Increase vitest hookTimeout from 30s to 60s to prevent hook timeouts in e2e tests that need time to start daemon instances - Add `**/dist/**` to excludes to avoid running compiled test files - Fix ClaudeAgentClient constructor call in claude-agent-commands.test.ts to pass required logger option
26 lines
554 B
TypeScript
26 lines
554 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@server": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
testTimeout: 30000,
|
|
hookTimeout: 60000,
|
|
globals: true,
|
|
environment: "node",
|
|
setupFiles: [path.resolve(__dirname, "./src/test-utils/vitest-setup.ts")],
|
|
pool: "forks",
|
|
poolOptions: {
|
|
forks: {
|
|
singleFork: false,
|
|
maxForks: 4,
|
|
},
|
|
},
|
|
exclude: ["**/node_modules/**", "**/dist/**"],
|
|
},
|
|
});
|