MCPcopy Index your code
hub / github.com/angular/angular / overrideDirective

Method overrideDirective

packages/core/testing/src/test_bed.ts:345–347  ·  view source on GitHub ↗
(directive: Type<any>, override: MetadataOverride<Directive>)

Source from the content-addressed store, hash-verified

343 }
344
345 static overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): TestBed {
346 return TestBedImpl.INSTANCE.overrideDirective(directive, override);
347 }
348
349 static overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): TestBed {
350 return TestBedImpl.INSTANCE.overridePipe(pipe, override);

Callers

nothing calls this directly

Calls 2

assertNotInstantiatedMethod · 0.95
overrideDirectiveMethod · 0.65

Tested by

no test coverage detected