MCPcopy
hub / github.com/angular/components / createComponent

Function createComponent

src/material/slider/slider.spec.ts:42–46  ·  view source on GitHub ↗
(component: Type<T>, providers: Provider[] = [])

Source from the content-addressed store, hash-verified

40 let platform: Platform;
41
42 function createComponent<T>(component: Type<T>, providers: Provider[] = []): ComponentFixture<T> {
43 TestBed.configureTestingModule({providers});
44 platform = TestBed.inject(Platform);
45 return TestBed.createComponent<T>(component);
46 }
47
48 function checkInput(
49 input: MatSliderThumb,

Callers 1

slider.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…