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 authored and ScottFreeCode committed Sep 10, 2017
1 parent 74fa66f commit 1cc0fc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mocha.js
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.skip;
exports.setup = context.setup || context.beforeEach;
exports.suiteSetup = context.suiteSetup || context.before;
exports.suiteTeardown = context.suiteTeardown || context.after;
Expand Down

0 comments on commit 1cc0fc0

Please sign in to comment.