style: format telegram bot test

This commit is contained in:
Peter Steinberger
2026-01-06 03:43:05 +01:00
parent 92ff3311ee
commit 9b5610aa45

View File

@@ -565,11 +565,10 @@ describe("createTelegramBot", () => {
}); });
expect(sendAnimationSpy).toHaveBeenCalledTimes(1); expect(sendAnimationSpy).toHaveBeenCalledTimes(1);
expect(sendAnimationSpy).toHaveBeenCalledWith( expect(sendAnimationSpy).toHaveBeenCalledWith("1234", expect.anything(), {
"1234", caption: "caption",
expect.anything(), reply_to_message_id: undefined,
{ caption: "caption", reply_to_message_id: undefined }, });
);
expect(sendPhotoSpy).not.toHaveBeenCalled(); expect(sendPhotoSpy).not.toHaveBeenCalled();
}); });
}); });