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