2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-27 20:37:37 +00:00

feat: Test for deleteStickerSet

This commit is contained in:
Daniel 2023-06-04 10:21:11 +02:00
parent 057f7b8519
commit de9bafbc5c

View File

@ -1940,6 +1940,20 @@ describe('TelegramBot', function telegramSuite() {
});
});
describe.skip('#deleteStickerSet', function deleteStickerSetSuite() {
before(function before() {
utils.handleRatelimit(bot, 'deleteStickerSet', this);
});
it('should delete sticker set', function test() {
const stickerPackName = `s${CURRENT_TIMESTAMP}_by_${BOT_USERNAME}`;
bot.deleteStickerSet(stickerPackName).then((resp) => {
assert.ok(is.boolean(resp));
});
});
});
describe.skip('#answerInlineQuery', function answerInlineQuerySuite() { });
describe.skip('#answerWebAppQuery', function answerCallbackQuerySuite() { });