test: clean whatsapp alias assertions

This commit is contained in:
Shakker
2026-06-11 16:50:35 +01:00
committed by Shakker
parent de9260f813
commit fdf3667e09

View File

@@ -94,7 +94,7 @@ describe("WhatsApp inbound flat aliases", () => {
url: "https://example.com/next.jpg",
});
msg.group!.mentions!.jids = ["first@s.whatsapp.net"];
msg.group.mentions.jids = ["first@s.whatsapp.net"];
expect(msg.mentions).toEqual(["first@s.whatsapp.net"]);
msg.mentionedJids = ["second@s.whatsapp.net"];
expect(msg.group?.mentions?.jids).toEqual(["second@s.whatsapp.net"]);