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

Method createComponent

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

Source from the content-addressed store, hash-verified

186 overrideTemplateUsingTestingModule(component: Type<any>, template: string): TestBed;
187
188 createComponent<T>(component: Type<T>, options?: TestComponentOptions): ComponentFixture<T>;
189
190 createDirective<T>(directive: Type<T>, options?: TestDirectiveOptions): DirectiveFixture<T>;
191

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
initComponentFunction · 0.52