Skip to content

Commit 3fe7ae3

Browse files
committed
Replaces context.test with context.test.skip in xit exports
1 parent 6042cb8 commit 3fe7ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mocha.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Mocha.prototype.ui = function (name) {
204204
exports.before = context.before || context.suiteSetup;
205205
exports.describe = context.describe || context.suite;
206206
exports.it = context.it || context.test;
207-
exports.xit = context.xit || context.test;
207+
exports.xit = context.xit || context.test.skip;
208208
exports.setup = context.setup || context.beforeEach;
209209
exports.suiteSetup = context.suiteSetup || context.before;
210210
exports.suiteTeardown = context.suiteTeardown || context.after;

0 commit comments

Comments
 (0)