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