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

Method createComponent

packages/core/testing/src/test_bed.ts:172–172  ·  view source on GitHub ↗
(component: Type<T>, options?: TestComponentOptions)

Source from the content-addressed store, hash-verified

170 overrideTemplateUsingTestingModule(component: Type<any>, template: string): TestBed;
171
172 createComponent<T>(component: Type<T>, options?: TestComponentOptions): ComponentFixture<T>;
173
174 /**
175 * Returns the most recently created `ComponentFixture`, or throws an error if one has not

Callers 15

shadow_dom_spec.tsFile · 0.65
noopAnimationTestsFunction · 0.65
createTestComponentFunction · 0.65
createComponentFunction · 0.65
index_spec.tsFile · 0.65
any_test.tsFile · 0.65

Implementers 1

TestBedImplpackages/core/testing/src/test_bed.ts

Calls

no outgoing calls

Tested by 15

constructorMethod · 0.52
setupRadioGroupFunction · 0.52
createRootFunction · 0.52
createRootFunction · 0.52
createRootFunction · 0.52
guardsIntegrationSuiteFunction · 0.52
beforeEachFunction · 0.52