
committed by
Victor Berchet

parent
a63b764b54
commit
ac2b04a5ab
9
tools/public_api_guard/core/testing.d.ts
vendored
9
tools/public_api_guard/core/testing.d.ts
vendored
@ -1,6 +1,9 @@
|
||||
/** @stable */
|
||||
export declare function async(fn: Function): (done: any) => any;
|
||||
|
||||
/** @experimental */
|
||||
export declare function cleanupDocument(): void;
|
||||
|
||||
/** @stable */
|
||||
export declare class ComponentFixture<T> {
|
||||
changeDetectorRef: ChangeDetectorRef;
|
||||
@ -29,6 +32,9 @@ 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;
|
||||
|
||||
@ -145,5 +151,8 @@ export declare type TestModuleMetadata = {
|
||||
/** @experimental */
|
||||
export declare function tick(millis?: number): void;
|
||||
|
||||
/** @experimental */
|
||||
export declare function withBody<T>(html: string, blockFn: T): T;
|
||||
|
||||
/** @experimental */
|
||||
export declare function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;
|
||||
|
Reference in New Issue
Block a user