Skip to content

Commit 04b87f8

Browse files
committed
runStatus.listenToTestRun => runStatus.observeFork
1 parent c591c56 commit 04b87f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Api.prototype._runFile = function (file, testData) {
5353

5454
var emitter = fork(file, options);
5555

56-
testData.listenToTestRun(emitter);
56+
testData.observeFork(emitter);
5757

5858
return emitter;
5959
};

lib/test-data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function TestData(opts) {
3939
util.inherits(TestData, EventEmitter);
4040
module.exports = TestData;
4141

42-
TestData.prototype.listenToTestRun = function (emitter) {
42+
TestData.prototype.observeFork = function (emitter) {
4343
emitter
4444
.on('teardown', this.handleTeardown)
4545
.on('stats', this.handleStats)

0 commit comments

Comments
 (0)