test: update whatsapp reply quote assertions
parent
6550e7d562
commit
950432eac0
|
|
@ -110,7 +110,11 @@ describe("web monitor inbox", () => {
|
|||
expect(sock.sendMessage).toHaveBeenCalledWith(
|
||||
"999@s.whatsapp.net",
|
||||
{ text: "pong" },
|
||||
{ quoted: expect.objectContaining({ key: { id: "abc" } }) },
|
||||
{
|
||||
quoted: expect.objectContaining({
|
||||
key: expect.objectContaining({ id: "abc" }),
|
||||
}),
|
||||
},
|
||||
);
|
||||
|
||||
await listener.close();
|
||||
|
|
@ -194,7 +198,11 @@ describe("web monitor inbox", () => {
|
|||
expect(sock.sendMessage).toHaveBeenCalledWith(
|
||||
"999@s.whatsapp.net",
|
||||
{ text: "pong" },
|
||||
{ quoted: expect.objectContaining({ key: { id: "abc" } }) },
|
||||
{
|
||||
quoted: expect.objectContaining({
|
||||
key: expect.objectContaining({ id: "abc" }),
|
||||
}),
|
||||
},
|
||||
);
|
||||
|
||||
await listener.close();
|
||||
|
|
|
|||
Loading…
Reference in New Issue