mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
[Jest] add timeout option to It interface
This commit is contained in:
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
// Type definitions for Jest 20.0.5
|
||||
// Project: http://facebook.github.io/jest/
|
||||
// Definitions by: Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, Alexey Svetliakov <https://github.com/asvetliakov>, Alex Jover Morales <https://github.com/alexjoverm>
|
||||
// Definitions by: Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, Alexey Svetliakov <https://github.com/asvetliakov>, Alex Jover Morales <https://github.com/alexjoverm>, Allan Lukwago <https://github.com/epicallan>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.1
|
||||
|
||||
@@ -115,7 +115,7 @@ declare namespace jest {
|
||||
* @param {string} name The name of your test
|
||||
* @param {fn?} ProvidesCallback The function for your test
|
||||
*/
|
||||
(name: string, fn?: ProvidesCallback): void;
|
||||
(name: string, fn?: ProvidesCallback, timeout?: number): void;
|
||||
/** Only runs this test in the current file. */
|
||||
only: It;
|
||||
skip: It;
|
||||
|
||||
Reference in New Issue
Block a user