mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 16:58:25 +00:00
chore: Fix types in tests 27/N.
This commit is contained in:
@@ -108,7 +108,7 @@ describe("createWebSendApi", () => {
|
||||
});
|
||||
|
||||
it("falls back to unknown messageId if Baileys result does not expose key.id", async () => {
|
||||
sendMessage.mockResolvedValueOnce("ok");
|
||||
sendMessage.mockResolvedValueOnce({ key: {} });
|
||||
const res = await api.sendMessage("+1555", "hello");
|
||||
expect(res.messageId).toBe("unknown");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user