From b53cbfb5b5dd9c471ad2f2220bd8c6adf8613288 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Mon, 22 Jun 2015 17:41:15 -0700 Subject: [PATCH] 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. --- mocha/mocha.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mocha/mocha.d.ts b/mocha/mocha.d.ts index fefd91946..1d57bc45c 100644 --- a/mocha/mocha.d.ts +++ b/mocha/mocha.d.ts @@ -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;