The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): remove obsolete URL.createObjectURL assertions in attachment tests
Steven Enamakeleb4dde3ad7f2
diff --git a/app/src/pages/__tests__/Conversations.attachments.test.tsx b/app/src/pages/__tests__/Conversations.attachments.test.tsxindex df68ee847e..0ab3bc5cc1 100644--- a/app/src/pages/__tests__/Conversations.attachments.test.tsx+++ b/app/src/pages/__tests__/Conversations.attachments.test.tsx@@ -588,10 +588,9 @@ describe('Conversations — attachment feature', () => {);await waitFor(() => {- const img = document.querySelector('img[src^="blob:conversation-attachment-"]');+ const img = document.querySelector(`img[src="${dataUri}"]`);expect(img).not.toBeNull();});- expect(URL.createObjectURL).toHaveBeenCalled();});it('renders a document filename chip in the user bubble from attachmentKinds/Names', async () => {@@ -750,10 +749,9 @@ describe('Conversations — attachment feature', () => {// The image marker's data URI still renders as an <img> (parsed out for display)...await waitFor(() => {- const img = document.querySelector('img[src^="blob:conversation-attachment-"]');+ const img = document.querySelector(`img[src="${dataUri}"]`);expect(img).not.toBeNull();});- expect(URL.createObjectURL).toHaveBeenCalled();// ...but the raw marker syntax must never leak into the rendered bubble text.expect(document.body.textContent).not.toContain('[IMAGE:');