From dd6c0bef0e3714a9f4bb969e7b823eda81a35dc4 Mon Sep 17 00:00:00 2001 From: Jaime Giraldo Date: Fri, 10 Jul 2015 12:00:55 -0500 Subject: [PATCH] Complemented second optional param on toThrowError --- 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 13160c4d2..40b26ebce 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -296,7 +296,7 @@ declare module jasmine { toContainHtml(expected: string): boolean; toContainText(expected: string): boolean; toThrow(expected?: any): boolean; - toThrowError(expected?: any): boolean; + toThrowError(expected?: any, message?: string): boolean; not: Matchers; Any: Any;