test: cover WhatsApp DM senderE164
This commit is contained in:
1 parent
a6a45f4b84
commit
291c6f3b60
2 files changed
+6
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user