Skip to content

Commit

Permalink
arrow-IIFEs must be invoked outside of the parens
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger authored and spalger committed Dec 2, 2016
1 parent 71732e7 commit b05662c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/cluster/__tests__/_mock_cluster_fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class MockClusterFork extends EventEmitter {
dead = true;
this.emit('exit');
cluster.emit('exit', this, this.exitCode || 0);
}());
})();
}),
},
isDead: sinon.spy(() => dead),
Expand All @@ -39,6 +39,6 @@ export default class MockClusterFork extends EventEmitter {
await wait();
dead = false;
this.emit('online');
}());
})();
}
}

0 comments on commit b05662c

Please sign in to comment.