Expose describe and it on where

This commit is contained in:
Tim Schaub
2017-07-03 13:59:40 -06:00
parent 0dfd6da5a9
commit 36f01e7b08

View File

@@ -483,7 +483,8 @@
throw new Error('where() called with unknown key: ' + key);
}
return {
describe: features[key] ? global.describe : global.xdescribe
describe: features[key] ? global.describe : global.xdescribe,
it: features[key] ? global.id : global.xit
};
};