fix(server): increase hookTimeout and fix ClaudeAgentClient constructor
- 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
This commit is contained in:
@@ -9,7 +9,7 @@ export default defineConfig({
|
||||
},
|
||||
test: {
|
||||
testTimeout: 30000,
|
||||
hookTimeout: 30000,
|
||||
hookTimeout: 60000,
|
||||
globals: true,
|
||||
environment: "node",
|
||||
setupFiles: [path.resolve(__dirname, "./src/test-utils/vitest-setup.ts")],
|
||||
@@ -20,6 +20,6 @@ export default defineConfig({
|
||||
maxForks: 4,
|
||||
},
|
||||
},
|
||||
exclude: ["**/node_modules/**"],
|
||||
exclude: ["**/node_modules/**", "**/dist/**"],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user