From f08ec1c02ffbc2c26297d5d6eae2e288053a8e8a Mon Sep 17 00:00:00 2001 From: Ahn Date: Mon, 29 Jan 2018 20:28:32 +0100 Subject: [PATCH] Remove global spyOn, pending, fail (#23226) --- types/jest/index.d.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index e0d73d5c9e..e3cac9b881 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -548,16 +548,6 @@ declare namespace jest { // Relevant parts of Jasmine's API are below so they can be changed and removed over time. // This file can't reference jasmine.d.ts since the globals aren't compatible. -declare function spyOn(object: any, method: string): jasmine.Spy; -/** - * If you call the function pending anywhere in the spec body, - * no matter the expectations, the spec will be marked pending. - */ -declare function pending(reason?: string): void; -/** - * Fails a test when called within one. - */ -declare function fail(error?: any): void; declare namespace jasmine { let DEFAULT_TIMEOUT_INTERVAL: number; function clock(): Clock;