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).toHaveBeenCalledWith(
"1234",
expect.anything(),
{ caption: "caption", reply_to_message_id: undefined },
);
expect(sendAnimationSpy).toHaveBeenCalledWith("1234", expect.anything(), {
caption: "caption",
reply_to_message_id: undefined,
});
expect(sendPhotoSpy).not.toHaveBeenCalled();
});
});