mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 10:07:41 +00:00
chore: prep #38056 for landing (thanks @0xlin2023)
This commit is contained in:
@@ -783,7 +783,9 @@ describe("sendMessageTelegram", () => {
|
||||
const chatId = "123";
|
||||
const sendMessage = vi
|
||||
.fn()
|
||||
.mockRejectedValueOnce(new Error("Network request for 'sendMessage' failed after 1 attempts."))
|
||||
.mockRejectedValueOnce(
|
||||
new Error("Network request for 'sendMessage' failed after 1 attempts."),
|
||||
)
|
||||
.mockResolvedValueOnce({
|
||||
message_id: 7,
|
||||
chat: { id: chatId },
|
||||
|
||||
Reference in New Issue
Block a user