Skip to content

Commit

Permalink
Replaces context.test with context.test.skip in xit exports
Browse files Browse the repository at this point in the history
  • Loading branch information
solodynamo committed Sep 9, 2017
1 parent 6042cb8 commit 3fe7ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +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.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 3fe7ae3

Please sign in to comment.