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

Method overrideTemplate

packages/core/testing/src/test_bed.ts:171–171  ·  view source on GitHub ↗
(component: Type<any>, template: string)

Source from the content-addressed store, hash-verified

169 overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): TestBed;
170
171 overrideTemplate(component: Type<any>, template: string): TestBed;
172
173 /**
174 * Overwrites all providers for the given token with the given provider definition.

Callers 14

createComponentFunction · 0.65
test_bed_spec.tsFile · 0.65
createCmptInstanceFunction · 0.65
debug_node_spec.tsFile · 0.65
directive_spec.tsFile · 0.65
executeTestFunction · 0.65
getRootNodesFunction · 0.65
createAndInsertViewsFunction · 0.65

Implementers 1

TestBedImplpackages/core/testing/src/test_bed.ts

Calls

no outgoing calls

Tested by

no test coverage detected