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

Function createComponent

src/cdk/tree/tree.spec.ts:1396–1406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1394 });
1395
1396 function createComponent(): ComponentFixture<StaticNestedCdkTreeApp> {
1397 const fixture = TestBed.createComponent(StaticNestedCdkTreeApp);
1398 fixture.detectChanges();
1399
1400 component = fixture.componentInstance;
1401 dataSource = component.dataSource as FakeDataSource;
1402 tree = component.tree;
1403 treeElement = fixture.nativeElement.querySelector('cdk-tree');
1404 nodes = getNodes(treeElement);
1405 return fixture;
1406 }
1407 });
1408
1409 describe('typeahead', () => {

Callers 4

tree.spec.tsFile · 0.70
loadMethod · 0.50
attachComponentPortalMethod · 0.50
portal.spec.tsFile · 0.50

Calls 1

getNodesFunction · 0.70

Tested by

no test coverage detected