test: add assertion for sendMessage with reply markup and HTML parse mode in send.video-note test.

This commit is contained in:
Evgenii Utkin
2026-02-03 18:14:10 +01:00
committed by CLAWDINATOR Bot
parent 63680a3e9c
commit 686e590d03

View File

@@ -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 () => {