Skip to content

Commit

Permalink
fix: ignore failed tests from mocha
Browse files Browse the repository at this point in the history
j0tunn committed Mar 15, 2017
1 parent 9848f0f commit bd41074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runner/mocha-runner/mocha-adapter.js
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ module.exports = class MochaAdapter {
const defer = q.defer();

this._errMonitor.on('err', (err) => defer.reject(err));
this._mocha.run((err) => err ? defer.reject(err) : defer.resolve());
this._mocha.run(() => defer.resolve());

return defer.promise;
}

0 comments on commit bd41074

Please sign in to comment.