feat(core): update reference and doc to change async
to waitAsync
. (#37583)
The last commit change `async` to `waitForAsync`. This commit update all usages in the code and also update aio doc. PR Close #37583
This commit is contained in:

committed by
Alex Rickabaugh

parent
8f074296c2
commit
8fbf40bf40
3
goldens/public-api/core/testing/testing.d.ts
vendored
3
goldens/public-api/core/testing/testing.d.ts
vendored
@ -1,6 +1,7 @@
|
||||
/** @codeGenApi */
|
||||
export declare const __core_private_testing_placeholder__ = "";
|
||||
|
||||
/** @deprecated */
|
||||
export declare function async(fn: Function): (done: any) => any;
|
||||
|
||||
export declare class ComponentFixture<T> {
|
||||
@ -141,5 +142,7 @@ export declare function tick(millis?: number, tickOptions?: {
|
||||
processNewMacroTasksSynchronously: boolean;
|
||||
}): void;
|
||||
|
||||
export declare function waitForAsync(fn: Function): (done: any) => any;
|
||||
|
||||
export declare function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;
|
||||
export declare function withModule(moduleDef: TestModuleMetadata, fn: Function): () => any;
|
||||
|
Reference in New Issue
Block a user