From d3a12dcfdc9624c0703a59d00f7adcf61f731259 Mon Sep 17 00:00:00 2001 From: "alexey.kamaev" Date: Thu, 6 Sep 2018 17:16:08 +0300 Subject: [PATCH] 9 --- src/test-run/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test-run/index.js b/src/test-run/index.js index ecfdd8bda63..b8f4124a6ff 100644 --- a/src/test-run/index.js +++ b/src/test-run/index.js @@ -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);