refactor(test): ts’if compiler integration tests.

This commit is contained in:
Tobias Bosch
2015-05-21 16:30:07 -07:00
parent c28952c707
commit cc2c8f6b00
5 changed files with 1566 additions and 1600 deletions

View File

@ -17,7 +17,18 @@ export function proxy() {
var _global: jasmine.GlobalPolluter = <any>(typeof window === 'undefined' ? global : window);
export var afterEach = _global.afterEach;
export var expect = _global.expect;
export interface NgMatchers extends jasmine.Matchers {
toBe(expected: any): boolean;
toEqual(expected: any): boolean;
toBePromise(expected: any): boolean;
toBeAnInstanceOf(expected: any): boolean;
toHaveText(expected: any): boolean;
toImplement(expected: any): boolean;
not: NgMatchers;
}
export var expect: (actual: any) => NgMatchers = <any>_global.expect;
export var IS_DARTIUM = false;