Skip to content

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

test(threadSlice): update event fixture for expanded conversation shape

Steven Enamakel2c6e23b937e6
diff --git a/app/src/store/__tests__/threadSlice.test.ts b/app/src/store/__tests__/threadSlice.test.ts
index dea1fa3b9f..de6b375715 100644
--- a/app/src/store/__tests__/threadSlice.test.ts
+++ b/app/src/store/__tests__/threadSlice.test.ts
@@ -113,13 +113,20 @@ describe('threadSlice synchronous reducers', () => {
sourceEventId: null,
sourceTimestamp: null,
channel: { id: 'telegram', accountId: 'bot-1' },
- conversation: { kind: 'group', id: 'room-1' },
+ conversation: {
+ kind: 'group',
+ id: 'room-1',
+ parentId: null,
+ scopeId: null,
+ threadId: null,
+ topicId: null,
+ },
type: 'reaction_added',
messageId: 'provider-message-42',
actor: { id: 'alice', altIds: [], name: null, isBot: false, roles: [] },
reaction: { value: '🔥', customEmojiId: null },
},
- } as Parameters<typeof applyChannelEvent>[0];
+ } as const satisfies Parameters<typeof applyChannelEvent>[0];
store.dispatch(applyChannelEvent(event));
expect(