MCPcopy
hub / github.com/angular/angular / advance

Function advance

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

Source from the content-addressed store, hash-verified

661});
662
663async function advance(fixture: ComponentFixture<unknown>, millis = 0): Promise<void> {
664 await timeout(millis);
665 fixture.detectChanges();
666}
667
668async function createRoot<T>(router: Router, type: Type<T>): Promise<ComponentFixture<T>> {
669 const f = TestBed.createComponent(type);

Callers 2

createRootFunction · 0.70

Calls 2

timeoutFunction · 0.90
detectChangesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…