We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4559e8 commit bc8f3c5Copy full SHA for bc8f3c5
test/tests/util.js
@@ -16,11 +16,11 @@ describe('check utility funcitons', () => {
16
compiler = webpack(config);
17
});
18
19
- tests.forEach((t) => {
+ for (const t of tests) {
20
// can't use an arrow function or else this.timeout won't work
21
- it(`test createDomain '${t.name}'`, function testIt(done) {
+ it(`test createDomain '${t.name}'`, function i(done) { // eslint-disable-line
22
if (t.timeout) {
23
- this.timeout = t.timeout;
+ this.timeout(t.timeout);
24
}
25
26
const options = t.options;
@@ -40,5 +40,5 @@ describe('check utility funcitons', () => {
40
done();
41
42
43
- });
+ }
44
0 commit comments