MCPcopy Create free account
hub / github.com/angular/angular / advance

Function advance

packages/router/test/directives/router_outlet.spec.ts:856–859  ·  view source on GitHub ↗
(fixture: ComponentFixture<unknown>, millis = 0)

Source from the content-addressed store, hash-verified

854});
855
856async function advance(fixture: ComponentFixture<unknown>, millis = 0): Promise<void> {
857 await timeout(millis);
858 fixture.detectChanges();
859}
860
861async function createRoot<T>(router: Router, type: Type<T>): Promise<ComponentFixture<T>> {
862 const f = TestBed.createComponent(type);

Callers 2

createRootFunction · 0.70

Calls 2

timeoutFunction · 0.90
detectChangesMethod · 0.45

Tested by

no test coverage detected