Skip to content

Commit b05662c

Browse files
spalgerspalger
authored andcommitted
arrow-IIFEs must be invoked outside of the parens
1 parent 71732e7 commit b05662c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli/cluster/__tests__/_mock_cluster_fork.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default class MockClusterFork extends EventEmitter {
2424
dead = true;
2525
this.emit('exit');
2626
cluster.emit('exit', this, this.exitCode || 0);
27-
}());
27+
})();
2828
}),
2929
},
3030
isDead: sinon.spy(() => dead),
@@ -39,6 +39,6 @@ export default class MockClusterFork extends EventEmitter {
3939
await wait();
4040
dead = false;
4141
this.emit('online');
42-
}());
42+
})();
4343
}
4444
}

0 commit comments

Comments
 (0)