From 9e2f362ab344db5ec060e1b5b6a1263ec0c0640d Mon Sep 17 00:00:00 2001 From: Eric Eslinger Date: Mon, 17 Apr 2017 08:03:23 -0700 Subject: [PATCH] Add the timeout() method to IRunnable (#15487) this allows it().timeout(5000) type calls. --- types/mocha/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/mocha/index.d.ts b/types/mocha/index.d.ts index b87a6e7d9b..3fd1bbe987 100644 --- a/types/mocha/index.d.ts +++ b/types/mocha/index.d.ts @@ -139,6 +139,7 @@ declare namespace Mocha { async: boolean; sync: boolean; timedOut: boolean; + timeout(n: number): this; } /** Partial interface for Mocha's `Suite` class. */