Skip to content

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

test(conversations): add properties to persisted attachment mock

Steven Enamakel68c898613ac8
diff --git a/app/src/features/conversations/Conversations.processSourceCommand.test.tsx b/app/src/features/conversations/Conversations.processSourceCommand.test.tsx
index f9ab4100cd..230d2d0c58 100644
--- a/app/src/features/conversations/Conversations.processSourceCommand.test.tsx
+++ b/app/src/features/conversations/Conversations.processSourceCommand.test.tsx
@@ -349,10 +349,20 @@ describe('the agent-process-source command follows the panel that hosts it', ()
const persistedAttachment = {
kind: 'image',
media: {
+ kind: 'image',
+ codec: null,
opaqueId: 'stored-photo',
contentType: 'image/png',
fileName: 'photo.png',
sizeBytes: 3,
+ durationMs: null,
+ height: null,
+ width: null,
+ localCachePath: null,
+ path: null,
+ platformMessageId: null,
+ transcribed: false,
+ url: null,
},
caption: null,
altText: null,