From ce62b6f1ba00fbbb85b9f086f2c425cb20cbd922 Mon Sep 17 00:00:00 2001 From: Allan Lukwago Date: Sun, 18 Jun 2017 12:12:44 +0300 Subject: [PATCH] [Jest] add timeout option to It interface --- types/jest/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index ac23de158b..0e40091513 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Jest 20.0.5 // Project: http://facebook.github.io/jest/ -// Definitions by: Asana , Ivo Stratev , jwbay , Alexey Svetliakov , Alex Jover Morales +// Definitions by: Asana , Ivo Stratev , jwbay , Alexey Svetliakov , Alex Jover Morales , Allan Lukwago // 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;