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

Function defineTestVariables

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

Source from the content-addressed store, hash-verified

71 }
72
73 function defineTestVariables() {
74 const treeDebugElement = fixture.debugElement.query(By.directive(Tree));
75 const treeItemDebugElements = fixture.debugElement.queryAll(By.directive(TreeItem));
76
77 treeElement = treeDebugElement.nativeElement as HTMLElement;
78 treeInstance = treeDebugElement.componentInstance as Tree<string>;
79 treeItemElements = treeItemDebugElements.map(debugEl => debugEl.nativeElement);
80 }
81
82 async function updateTree(
83 config: {

Callers 5

keydownFunction · 0.70
clickHelperFunction · 0.70
setupTestTreeFunction · 0.70
updateTreeFunction · 0.70
tree.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…