Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,14 @@ export default defineConfig({
// Source-backed process fixtures can exceed the unit-test budget
// when several coverage shards transpile and spawn them concurrently.
testTimeout: testTimeout(15_000),
// beforeAll in test/automation/pull-requests/growth-guardrails.test.ts
// calls loadGrowthGuardrailDiff(), which can run two sequential git
// fetches (base history + PR head) each individually budgeted up to
// 30s in preparePullRequestTree(). Vitest's unconfigured hookTimeout
// default (10s) is shorter than that budget, so the hook can time out
// on a real PR event even when every fetch succeeds within its own
// allowance. Size this comfortably above two sequential 30s fetches.
hookTimeout: testTimeout(70_000),
setupFiles: [
fixtureUmaskSetup,
isolatedTestStateSetup,
Expand Down
Loading