mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-22 18:07:16 +00:00
Test video Buffer
This commit is contained in:
parent
dd76c89ac9
commit
385590ef3f
@ -368,7 +368,6 @@ describe('Telegram', function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Currently unsupported (https://github.com/sindresorhus/file-type/pull/44)
|
|
||||||
it('should send a video from a Buffer', function (done) {
|
it('should send a video from a Buffer', function (done) {
|
||||||
var bot = new Telegram(TOKEN);
|
var bot = new Telegram(TOKEN);
|
||||||
var video = fs.readFileSync(__dirname+'/video.mp4');
|
var video = fs.readFileSync(__dirname+'/video.mp4');
|
||||||
@ -377,7 +376,6 @@ describe('Telegram', function () {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('#sendVoice', function () {
|
describe('#sendVoice', function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user