Skip to content

Commit e4559e8

Browse files
committed
fixing createdomain tests timeout
1 parent 2558f59 commit e4559e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/tests/util.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ describe('check utility funcitons', () => {
1717
});
1818

1919
tests.forEach((t) => {
20-
it(`test createDomain '${t.name}'`, (done) => {
20+
// can't use an arrow function or else this.timeout won't work
21+
it(`test createDomain '${t.name}'`, function testIt(done) {
2122
if (t.timeout) {
2223
this.timeout = t.timeout;
2324
}
25+
2426
const options = t.options;
2527

2628
options.publicPath = '/';

0 commit comments

Comments
 (0)