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

Function createComponent

src/material/select/select.spec.ts:1126–1131  ·  view source on GitHub ↗
(component: Type<T>)

Source from the content-addressed store, hash-verified

1124 });
1125
1126 function createComponent<T>(component: Type<T>): ComponentFixture<T> {
1127 const fixture = TestBed.createComponent(component);
1128 fixture.detectChanges();
1129 select = fixture.debugElement.query(By.css('mat-select'))!.nativeElement;
1130 return fixture;
1131 }
1132 });
1133
1134 describe('for options', () => {

Callers 1

select.spec.tsFile · 0.70

Calls 5

markForCheckMethod · 0.80
getOverlayHostFunction · 0.70
clickMethod · 0.65
pushMethod · 0.65
openMethod · 0.65

Tested by

no test coverage detected