Skip to content

Commit bc8f3c5

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/tests/util.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ 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+
this.timeout(t.timeout);
2424
}
2525

2626
const options = t.options;
@@ -40,5 +40,5 @@ describe('check utility funcitons', () => {
4040
done();
4141
});
4242
});
43-
});
43+
}
4444
});

0 commit comments

Comments
 (0)