mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add xit and xdescribe
In Mocha you can comment out tests by changing their `it` or `describe` blocks to `xit` or `xdescribe`. This change will add support for those functions.
This commit is contained in:
1 parent
3e117d8c9d
commit
b53cbfb5b5
1 file changed
+2
Vendored
+2
@@ -37,11 +37,13 @@ interface MochaDone {
|
||||
|
||||
declare var mocha: Mocha;
|
||||
declare var describe: Mocha.IContextDefinition;
|
||||
declare var xdescribe: Mocha.IContextDefinition;
|
||||
// alias for `describe`
|
||||
declare var context: Mocha.IContextDefinition;
|
||||
// alias for `describe`
|
||||
declare var suite: Mocha.IContextDefinition;
|
||||
declare var it: Mocha.ITestDefinition;
|
||||
declare var xit: Mocha.ITestDefinition;
|
||||
// alias for `it`
|
||||
declare var test: Mocha.ITestDefinition;
|
||||
|
||||
|
||||
Reference in new issue
Block a user