MCPcopy Index your code
hub / github.com/angular/components / expandAll

Function expandAll

src/aria/tree/tree.spec.ts:154–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 }
153
154 async function expandAll() {
155 const fruitsEl = getTreeItemElementByValue('fruits')!;
156 await click(fruitsEl);
157 const berriesEl = getTreeItemElementByValue('berries')!;
158 await click(berriesEl);
159 const vegetablesEl = getTreeItemElementByValue('vegetables')!;
160 await click(vegetablesEl);
161 await updateTree({value: []});
162 }
163
164 afterEach(async () => {
165 await fixture.whenStable();

Callers 1

tree.spec.tsFile · 0.85

Calls 3

updateTreeFunction · 0.85
clickFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…