Skip to content

Commit

Permalink
test: fix for skipping request next tests in old node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-nico committed Jul 8, 2016
1 parent 1de5a9c commit 1c437b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/spec/request-next.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var api = require('@request/api'),
client = require('@request/client'),
Bluebird = require('bluebird'),
var Bluebird = require('bluebird'),
configure = require('../../configure/request-next.js'),
errors = require('../../errors'),
nodeVersion = require('node-version'),
Expand All @@ -15,6 +13,10 @@ describe('Promise-Core for Request@next', function () {
return; // request@next uses ES6 and thus wouldn't run on old node.js versions
}

var api = require('@request/api'),
client = require('@request/client');


describe('during configuration', function () {

it('should verify the options', function () {
Expand Down

0 comments on commit 1c437b3

Please sign in to comment.