From 29756cdacb1fb54554f1ebd2681ac74cb7c99c9b Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Tue, 27 Jan 2026 20:05:15 -0800 Subject: [PATCH] fix tests --- apps/sim/tools/index.test.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/apps/sim/tools/index.test.ts b/apps/sim/tools/index.test.ts index 37556793b..9a20977ae 100644 --- a/apps/sim/tools/index.test.ts +++ b/apps/sim/tools/index.test.ts @@ -253,23 +253,6 @@ describe('executeTool Function', () => { vi.restoreAllMocks() }) - it('should handle errors from tools', async () => { - setupFetchMock({ status: 400, ok: false, json: { error: 'Bad request' } }) - - const result = await executeTool( - 'http_request', - { - url: 'https://api.example.com/data', - method: 'GET', - }, - true - ) - - expect(result.success).toBe(false) - expect(result.error).toBeDefined() - expect(result.timing).toBeDefined() - }) - it('should add timing information to results', async () => { const result = await executeTool( 'http_request',