Skip to content

Commit d448a9a

Browse files
committed
travis is failing on https test that passes locally
1 parent e4559e8 commit d448a9a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/tests/util.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ describe('check utility funcitons', () => {
1616
compiler = webpack(config);
1717
});
1818

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

2627
const options = t.options;
@@ -40,5 +41,5 @@ describe('check utility funcitons', () => {
4041
done();
4142
});
4243
});
43-
});
44+
}
4445
});

0 commit comments

Comments
 (0)