Skip to content

Commit

Permalink
9
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKamaev committed Sep 6, 2018
1 parent 076e35b commit d3a12dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test-run/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,7 @@ export default class TestRun extends EventEmitter {
console.log(this.id + ' ' + this.test.name);
this.disconnected = true;

if (this.currentDriverTask)
this._rejectCurrentDriverTask(err);
this._rejectCurrentDriverTask(err);

this.emit('disconnected', err);

Expand Down

0 comments on commit d3a12dc

Please sign in to comment.