From b709d3b89b5fd43a8aa20c98b64913540b4b9420 Mon Sep 17 00:00:00 2001 From: emre1791 <33837953+emre1791@users.noreply.github.com> Date: Mon, 22 Aug 2022 01:12:25 +0300 Subject: [PATCH] Update globals.d.ts Added describeFOCUS types --- globals.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/globals.d.ts b/globals.d.ts index b25ad1f..95f7db6 100644 --- a/globals.d.ts +++ b/globals.d.ts @@ -11,6 +11,13 @@ declare global { * Put it blocks inside of describe blocks to describe what behavior should be correct. */ function describe(phrase: string, callback: (context: Context) => void): void; + + /** + * These methods are special versions of it that automatically mark the it block as focused or skipped. + * + * Put it blocks inside of describe blocks to describe what behavior should be correct. + */ + function describeFOCUS(phrase: string, callback: (context: Context) => void): void; /** * This function creates a new 'it' block.