From 19a23c4d38229847963eda0ecf0899a9bdb655aa Mon Sep 17 00:00:00 2001 From: a3chic9 Date: Tue, 14 Apr 2015 10:27:31 -0400 Subject: [PATCH] Update jasmine pending() definition Added option string parameter --- jasmine/jasmine.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index 3727f8839a..565b472f9f 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -18,7 +18,7 @@ declare function xit(expectation: string, assertion?: () => void, timeout?: numb declare function xit(expectation: string, assertion?: (done: () => void) => void, timeout?: number): void; /** If you call the function pending anywhere in the spec body, no matter the expectations, the spec will be marked pending. */ -declare function pending(): void; +declare function pending(reason?: string): void; declare function beforeEach(action: () => void, timeout?: number): void; declare function beforeEach(action: (done: () => void) => void, timeout?: number): void;