From b96356207eaba4a62f61c214052ef459681a6aeb Mon Sep 17 00:00:00 2001 From: Alexander Tarmolov Date: Tue, 22 Mar 2016 15:08:17 +0300 Subject: [PATCH] Q has no method 'getUnhandledReasons' --- lib/hermione.js | 6 ------ package.json | 1 - 2 files changed, 7 deletions(-) diff --git a/lib/hermione.js b/lib/hermione.js index 60998a604..e0f52ef03 100644 --- a/lib/hermione.js +++ b/lib/hermione.js @@ -6,9 +6,7 @@ var Runner = require('./runner'), pathUtils = require('./path-utils'), logger = require('./utils').logger, _ = require('lodash'), - q = require('q'), inherit = require('inherit'), - qDebugMode = require('q-debug-mode'), util = require('util'), chalk = require('chalk'); @@ -29,10 +27,6 @@ module.exports = inherit({ run: function(testPaths, browsers) { browsers = this._filterBrowsers(browsers, _.keys(this._config.browsers)); - if (this._config.debug) { - qDebugMode(q); - } - var runner = Runner.create(this._config); runner.on(RunnerEvents.TEST_FAIL, this._fail.bind(this)); runner.on(RunnerEvents.ERROR, this._fail.bind(this)); diff --git a/package.json b/package.json index ee3fb0957..a89d49a7a 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "lodash": "~3.10.1", "mocha": "~2.4.5", "q": "^2.0.0", - "q-debug-mode": "0.0.1", "q-io": "^2.0.6", "q-promise-utils": "^1.0.0", "teamcity-service-messages": "^0.1.6",