test: cover WhatsApp DM senderE164

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

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