From 793f52d261df17aba09938590f5e0997b2d1cbc8 Mon Sep 17 00:00:00 2001 From: joswhite Date: Tue, 16 Jun 2015 13:52:13 -0600 Subject: [PATCH] Add jasmine.stringMatching() function See http://jasmine.github.io/2.3/introduction.html --- jasmine/jasmine.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index c0bd00843..9e662c6e1 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -55,7 +55,9 @@ declare module jasmine { function getEnv(): Env; function addCustomEqualityTester(equalityTester: CustomEqualityTester): void; function addMatchers(matchers: CustomMatcherFactories): void; - + function stringMatching(str: string): Any; + function stringMatching(str: RegExp): Any; + interface Any { new (expectedClass: any): any;