Skip to content

Commit 3407f58

Browse files
Juansindresorhus
Juan
authored andcommitted
Remove 'ready' event from API (#828)
1 parent 4abb351 commit 3407f58

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

api.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ Api.prototype._runNoPool = function (files, runStatus) {
150150
return;
151151
}
152152

153-
self.emit('ready');
154-
155153
var method = self.options.serial ? 'mapSeries' : 'map';
156154
var options = {
157155
runOnlyExclusive: runStatus.hasExclusive
@@ -267,7 +265,6 @@ Api.prototype._runLimitedPool = function (files, runStatus, concurrency) {
267265

268266
return new Promise(function (resolve, reject) {
269267
var runner = function () {
270-
self.emit('ready');
271268
var options = {
272269
// If we're looking for matches, run every single test process in exclusive-only mode
273270
runOnlyExclusive: self.options.match.length > 0

0 commit comments

Comments
 (0)