From 33b23ae09ee19034ac136e558cb5f3d258ef3dcf Mon Sep 17 00:00:00 2001 From: chezsmithy Date: Mon, 28 Jul 2025 17:47:53 -0700 Subject: [PATCH] fix: :art: Fix typescript error --- core/tools/implementations/runTerminalCommand.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/implementations/runTerminalCommand.test.ts b/core/tools/implementations/runTerminalCommand.test.ts index 9ef39632b..e744ea4f1 100644 --- a/core/tools/implementations/runTerminalCommand.test.ts +++ b/core/tools/implementations/runTerminalCommand.test.ts @@ -415,7 +415,7 @@ describe("runTerminalCommandImpl", () => { delete process.env.USERPROFILE; process.cwd = jest.fn().mockImplementation(() => { throw new Error("Current directory unavailable"); - }); + }) as jest.MockedFunction<() => string>; // Create IDE mock with empty workspace const mockIde = {