test: cover WhatsApp DM senderE164

This commit is contained in:
Peter Steinberger committed 2026-01-06 00:55:41 +01:00
1 parent a6a45f4b84
commit 291c6f3b60
2 files changed
+6 -1

No files matched your search

+5 -1
View File
@@ -701,7 +701,11 @@ describe("web monitor inbox", () => {
// Should call onMessage for authorized senders
expect(onMessage).toHaveBeenCalledWith(
expect.objectContaining({ body: "authorized message", from: "+999" }),
expect.objectContaining({
body: "authorized message",
from: "+999",
senderE164: "+999",
}),
);
// Reset mock for other tests