2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-31 14:25:57 +00:00

src: Minor fixes

This commit is contained in:
GochoMugo
2017-02-09 19:06:38 +03:00
parent e75d51ca8f
commit 9a9dfa9560
4 changed files with 4 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ before(function beforeAll() {
describe('module.exports', function moduleExportsSuite() {
const nodeVersion = parseInt(process.versions.node.split('.')[0], 10);
it('is loaded from src/ on Node.js v5+', function test() {
it('is loaded from src/ on Node.js v5+ and above', function test() {
if (nodeVersion <= 4) this.skip(); // skip on Node.js v4 and below
assert.equal(TelegramBot, require('../src/telegram'));
});