mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
Add the timeout() method to IRunnable (#15487)
this allows it().timeout(5000) type calls.
This commit is contained in:
Vendored
+1
@@ -139,6 +139,7 @@ declare namespace Mocha {
|
||||
async: boolean;
|
||||
sync: boolean;
|
||||
timedOut: boolean;
|
||||
timeout(n: number): this;
|
||||
}
|
||||
|
||||
/** Partial interface for Mocha's `Suite` class. */
|
||||
|
||||
Reference in New Issue
Block a user