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

Function createComponent

src/material/input/input.spec.ts:1352–1359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1350 });
1351
1352 function createComponent(): ComponentFixture<MatInputWithFormErrorMessages> {
1353 const fixture = TestBed.createComponent(MatInputWithFormErrorMessages);
1354 fixture.detectChanges();
1355 testComponent = fixture.componentInstance;
1356 containerEl = fixture.debugElement.query(By.css('.mat-mdc-form-field'))!.nativeElement;
1357 inputEl = fixture.debugElement.query(By.css('input'))!.nativeElement;
1358 return fixture;
1359 }
1360 });
1361
1362 describe('custom error behavior', () => {

Callers 1

input.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected