Skip to content

Commit

Permalink
travis is failing on https test that passes locally
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Oct 10, 2017
1 parent e4559e8 commit d448a9a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/tests/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ describe('check utility funcitons', () => {
compiler = webpack(config);
});

tests.forEach((t) => {
for (const t of tests) {
// can't use an arrow function or else this.timeout won't work
it(`test createDomain '${t.name}'`, function testIt(done) {
it(`test createDomain '${t.name}'`, function i(done) { // eslint-disable-line
if (t.timeout) {
this.timeout = t.timeout;
console.log('setting timeout to', t.timeout);
this.timeout(t.timeout);
}

const options = t.options;
Expand All @@ -40,5 +41,5 @@ describe('check utility funcitons', () => {
done();
});
});
});
}
});

0 comments on commit d448a9a

Please sign in to comment.