2016-06-03 18:15:14 -07:00
|
|
|
// See https://github.com/angular/angular/issues/9017
|
2016-06-08 01:06:25 +02:00
|
|
|
import { expect as expectCore } from '@angular/core/testing';
|
2016-06-03 18:15:14 -07:00
|
|
|
import { NgMatchers } from '@angular/platform-browser/testing';
|
|
|
|
|
|
|
|
export function expect(spy: Function): NgMatchers;
|
|
|
|
export function expect(actual: any): NgMatchers;
|
|
|
|
export function expect(actual: any): NgMatchers {
|
|
|
|
return expectCore(actual) as NgMatchers;
|
|
|
|
}
|