From 44f538b3f7ef28b164eb2a0a132e8657c6eb8822 Mon Sep 17 00:00:00 2001 From: Will Li Date: Wed, 16 Jul 2025 16:37:41 -0700 Subject: [PATCH] test passing --- .../tools/__tests__/executeCommandTimeout.integration.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/tools/__tests__/executeCommandTimeout.integration.spec.ts b/src/core/tools/__tests__/executeCommandTimeout.integration.spec.ts index de98c9df20..c185f69df3 100644 --- a/src/core/tools/__tests__/executeCommandTimeout.integration.spec.ts +++ b/src/core/tools/__tests__/executeCommandTimeout.integration.spec.ts @@ -36,6 +36,10 @@ describe("Command Execution Timeout Integration", () => { providerRef: { deref: vitest.fn().mockResolvedValue({ postMessageToWebview: vitest.fn(), + getState: vitest.fn().mockResolvedValue({ + toolExecutionTimeoutMs: 60000, + timeoutFallbackEnabled: false, // Disable new timeout approach for legacy tests + }), }), }, say: vitest.fn().mockResolvedValue(undefined),