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),