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

Function nextScroll

packages/router/test/router_link_spec.ts:444–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442 const fixture = TestBed.createComponent(LinksWithScroll);
443 await fixture.whenStable();
444 const nextScroll = () =>
445 firstValueFrom(router.events.pipe(filter((e): e is Scroll => e instanceof Scroll)));
446
447 let scroll = nextScroll();
448 click(fixture, 'manual');

Callers 1

Calls 1

firstValueFromFunction · 0.85

Tested by

no test coverage detected