test(ivy): Add small_app spec for sprint #3 (#22018)

PR Close #22018
This commit is contained in:
Misko Hevery
2018-02-03 20:34:30 -08:00
committed by Victor Berchet
parent a63b764b54
commit ac2b04a5ab
21 changed files with 697 additions and 84 deletions

View File

@ -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;