From da75ac3ccc4e92d56e47735cceecd27d0515ead1 Mon Sep 17 00:00:00 2001 From: Nicolas Varrot Date: Sun, 15 Feb 2026 22:02:26 +0000 Subject: [PATCH] fix: correct toolUseId property name in export test --- src/lib/__tests__/exportConversation.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/__tests__/exportConversation.test.ts b/src/lib/__tests__/exportConversation.test.ts index 4486aed..243cbcb 100644 --- a/src/lib/__tests__/exportConversation.test.ts +++ b/src/lib/__tests__/exportConversation.test.ts @@ -60,7 +60,7 @@ describe('exportAsMarkdown', () => { it('renders tool_result blocks truncated', () => { const longContent = 'x'.repeat(3000); const msgs = [ - makeMsg('assistant', '', [{ type: 'tool_result', content: longContent, tool_use_id: 't1' }]), + makeMsg('assistant', '', [{ type: 'tool_result', content: longContent, toolUseId: 't1' }]), ]; const md = exportAsMarkdown(msgs); expect(md).toContain('**📋 Result:**');