style: format telegram bot test
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user