Skip to content

Commit 1cc0fc0

Browse files
solodynamoScottFreeCode
authored andcommitted
import/require xit, fixes #2972
1 parent 74fa66f commit 1cc0fc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mocha.js

+1
Original file line numberDiff line numberDiff line change
@@ -204,6 +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.skip;
207208
exports.setup = context.setup || context.beforeEach;
208209
exports.suiteSetup = context.suiteSetup || context.before;
209210
exports.suiteTeardown = context.suiteTeardown || context.after;

0 commit comments

Comments
 (0)