Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(composio): cover composio api client behaviour

Steven Enamakelbbf3e74c1c23
diff --git a/app/src/lib/composio/composioApi.test.ts b/app/src/lib/composio/composioApi.test.ts
index f22d0ecd9f..8e5c04d802 100644
--- a/app/src/lib/composio/composioApi.test.ts
+++ b/app/src/lib/composio/composioApi.test.ts
@@ -215,13 +215,5 @@ describe('deleteConnection', () => {
params: { connection_id: 'conn-abc' },
});
});
-
- it('forwards clearMemory=true to the RPC', async () => {
- mockCallCoreRpc.mockResolvedValue({ result: { deleted: true }, logs: [] });
- await deleteConnection('conn-abc', { clearMemory: true });
- expect(mockCallCoreRpc).toHaveBeenCalledWith({
- method: 'openhuman.composio_delete_connection',
- params: { connection_id: 'conn-abc', clear_memory: true },
- });
});
});