-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvitest.e2e.config.ts
More file actions
23 lines (22 loc) · 957 Bytes
/
Copy pathvitest.e2e.config.ts
File metadata and controls
23 lines (22 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { defineConfig } from 'vitest/config';
// E2E config — runs canary scenarios against real agent CLIs.
// Not included in the default `pnpm test` run. Invoke via:
// pnpm vitest run --config vitest.e2e.config.ts
// or one of the `make e2e-*` targets.
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/e2e/**/*.e2e.test.ts'],
// Canary runs involve real agent calls (minutes each) + final smoke checks.
// One test = one full Tenet cycle; wait out the longest plausible completion.
testTimeout: 30 * 60 * 1000, // 30 minutes
hookTimeout: 60 * 1000,
// Vitest parallelism would race multiple real agents against shared rate limits.
// Run one canary at a time.
fileParallelism: false,
pool: 'forks',
// In Vitest 4, pool-specific options moved to top-level.
// `fileParallelism: false` already serializes file execution, which is what we want.
},
});