refactor(core): remove withBody from public testing API (#25171)

PR Close #25171
This commit is contained in:
Miško Hevery
2018-07-27 13:49:22 -07:00
committed by Igor Minar
parent aafd502bcb
commit 6e2a1877ab
18 changed files with 39 additions and 16 deletions

View File

@ -1,8 +1,5 @@
export declare function async(fn: Function): (done: any) => any;
/** @experimental */
export declare function cleanupDocument(): void;
export declare class ComponentFixture<T> {
changeDetectorRef: ChangeDetectorRef;
componentInstance: T;
@ -30,9 +27,6 @@ export declare const ComponentFixtureNoNgZone: InjectionToken<boolean[]>;
/** @experimental */
export declare function discardPeriodicTasks(): void;
/** @experimental */
export declare function ensureDocument(): void;
/** @experimental */
export declare function fakeAsync(fn: Function): (...args: any[]) => any;
@ -147,9 +141,6 @@ export declare type TestModuleMetadata = {
/** @experimental */
export declare function tick(millis?: number): void;
/** @experimental */
export declare function withBody<T extends Function>(html: string, blockFn: T): T;
/** @experimental */
export declare function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;
export declare function withModule(moduleDef: TestModuleMetadata, fn: Function): () => any;