MCPcopy
hub / github.com/angular/angular / overrideTemplate

Method overrideTemplate

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

Source from the content-addressed store, hash-verified

153 overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): TestBed;
154
155 overrideTemplate(component: Type<any>, template: string): TestBed;
156
157 /**
158 * 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