Add the timeout() method to IRunnable (#15487)

this allows it().timeout(5000) type calls.
This commit is contained in:
Eric Eslinger
2017-04-17 08:03:23 -07:00
committed by Andy
parent 83d94ac9cc
commit 9e2f362ab3
+1
View File
@@ -139,6 +139,7 @@ declare namespace Mocha {
async: boolean;
sync: boolean;
timedOut: boolean;
timeout(n: number): this;
}
/** Partial interface for Mocha's `Suite` class. */