We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4559e8 commit d448a9aCopy full SHA for d448a9a
test/tests/util.js
@@ -16,11 +16,12 @@ 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;
+ console.log('setting timeout to', t.timeout);
24
+ this.timeout(t.timeout);
25
}
26
27
const options = t.options;
@@ -40,5 +41,5 @@ describe('check utility funcitons', () => {
40
41
done();
42
43
- });
44
+ }
45
0 commit comments