Skip to content

Commit

Permalink
import/require xit, fixes #2972
Browse files Browse the repository at this point in the history
  • Loading branch information
solodynamo committed Sep 9, 2017
1 parent 74fa66f commit 6042cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ Mocha.prototype.ui = function (name) {
exports.before = context.before || context.suiteSetup;
exports.describe = context.describe || context.suite;
exports.it = context.it || context.test;
exports.xit = context.xit || context.test;
exports.setup = context.setup || context.beforeEach;
exports.suiteSetup = context.suiteSetup || context.before;
exports.suiteTeardown = context.suiteTeardown || context.after;
Expand Down
1 change: 1 addition & 0 deletions mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -1464,6 +1464,7 @@ Mocha.prototype.ui = function (name) {
exports.before = context.before || context.suiteSetup;
exports.describe = context.describe || context.suite;
exports.it = context.it || context.test;
exports.xit = context.xit || context.test;
exports.setup = context.setup || context.beforeEach;
exports.suiteSetup = context.suiteSetup || context.before;
exports.suiteTeardown = context.suiteTeardown || context.after;
Expand Down

0 comments on commit 6042cb8

Please sign in to comment.