mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
test: add assertion for sendMessage with reply markup and HTML parse mode in send.video-note test.
This commit is contained in:
committed by
CLAWDINATOR Bot
parent
63680a3e9c
commit
686e590d03
@@ -166,6 +166,12 @@ describe("sendMessageTelegram video notes", () => {
|
||||
expect(sendVideoNote).toHaveBeenCalledWith(chatId, expect.anything(), {});
|
||||
|
||||
// Text message gets reply markup
|
||||
expect(sendMessage).toHaveBeenCalledWith(chatId, text, {
|
||||
parse_mode: "HTML",
|
||||
reply_markup: {
|
||||
inline_keyboard: [[{ text: "Btn", callback_data: "dat" }]],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
it("threads video note and text message correctly", async () => {
|
||||
|
||||
Reference in New Issue
Block a user