mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 21:37:58 +00:00
[test] Skip tests for TelegramBot#sendContact()
Bug: Please see note in test file!
This commit is contained in:
parent
6dabdb47d8
commit
96bff10119
@ -686,7 +686,13 @@ describe('Telegram', function telegramSuite() {
|
||||
});
|
||||
});
|
||||
|
||||
describe('#sendContact', function sendContactSuite() {
|
||||
// NOTE: We are skipping TelegramBot#sendContact() as the
|
||||
// corresponding rate-limits enforced by the Telegram servers
|
||||
// are too strict! During our initial tests, we were required
|
||||
// to retry after ~72000 secs (1200 mins / 20 hrs).
|
||||
// We surely can NOT wait for that much time during testing
|
||||
// (or in most practical cases for that matter!)
|
||||
describe.skip('#sendContact', function sendContactSuite() {
|
||||
before(function before() {
|
||||
utils.handleRatelimit(bot, 'sendContact', this);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user