diff --git a/apps/worker/src/core/approval.test.ts b/apps/worker/src/core/approval.test.ts index 3a05883..7c18ddd 100644 --- a/apps/worker/src/core/approval.test.ts +++ b/apps/worker/src/core/approval.test.ts @@ -130,5 +130,13 @@ describe('handleStarReaction', () => { toGroupJid: '888@g.us', fromAccountId: 'acc_1', }); + expect(result!.indexDoc).toMatchObject({ + messageId: 'msg_1', + content: 'important announcement', + senderName: 'Bob', + sourceGroupId: 'grp_1', + tags: ['#important'], + platform: 'whatsapp', + }); }); });