test: tighten whatsapp group gating assertions

This commit is contained in:
Shakker
2026-05-11 04:21:32 +01:00
parent dc0d0fda64
commit 8ec1c3c1c4

View File

@@ -95,9 +95,13 @@ describe("applyGroupGating audio preflight mention text", () => {
expect(result).toEqual({ shouldProcess: false });
expect(groupHistories.get("whatsapp:group:1203630")).toEqual([
expect.objectContaining({
{
sender: "Alice (+15550000002)",
body: "please summarize the thread",
}),
timestamp: 1700000000,
id: "msg-1",
senderJid: undefined,
},
]);
});
});