feat(core): introduce fixture.whenRenderingDone for testing (#16732)
This commit is contained in:

committed by
Jason Aden

parent
06264645fd
commit
38c524d655
@ -160,6 +160,14 @@ export class ComponentFixture<T> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a promise that resolves when the ui state is stable following animations.
|
||||
*/
|
||||
whenRenderingDone(): Promise<any> {
|
||||
// this is temporary until this is functional
|
||||
return this.whenStable();
|
||||
}
|
||||
|
||||
/**
|
||||
* Trigger component destruction.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user