From 09f84ef41813bf93c0f22c48b515a296dd9ab049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 9 Oct 2026 17:33:19 +0200 Subject: [PATCH] test(coach): give the live scenario runner room on a loaded machine --- src/lib/ai/coach/eval/__tests__/scenarios-live.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/ai/coach/eval/__tests__/scenarios-live.test.ts b/src/lib/ai/coach/eval/__tests__/scenarios-live.test.ts index 61891818d..425a1bdb8 100644 --- a/src/lib/ai/coach/eval/__tests__/scenarios-live.test.ts +++ b/src/lib/ai/coach/eval/__tests__/scenarios-live.test.ts @@ -52,7 +52,9 @@ afterEach(() => { vi.unstubAllEnvs(); }); -describe("runScenarioLive", () => { +// Each case drives the whole scripted turn through the real assembler; on a +// loaded machine that has run past the 5 s default while taking ~1.5 s idle. +describe("runScenarioLive", { timeout: 20_000 }, () => { it("captures each call with its arguments and sends the chat turn's context", async () => { const provider = scripted([ toolRound("show_result", { ref: "m1.r1", view: "chart" }),