MCPcopy Create free account
hub / github.com/angular/components / getComponentsForTesting

Function getComponentsForTesting

src/cdk/menu/pointer-focus-tracker.spec.ts:23–27  ·  view source on GitHub ↗

Get the components under test from the fixture.

()

Source from the content-addressed store, hash-verified

21
22 /** Get the components under test from the fixture. */
23 function getComponentsForTesting() {
24 entered = fixture.componentInstance.focusTracker.entered;
25 exited = fixture.componentInstance.focusTracker.exited;
26 mockElements = fixture.componentInstance._allItems.toArray();
27 }
28
29 beforeEach(() => {
30 fixture = TestBed.createComponent(MultiElementWithConditionalComponent);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected