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

Method overrideModule

packages/core/testing/src/test_bed.ts:337–339  ·  view source on GitHub ↗
(ngModule: Type<any>, override: MetadataOverride<NgModule>)

Source from the content-addressed store, hash-verified

335 }
336
337 static overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): TestBed {
338 return TestBedImpl.INSTANCE.overrideModule(ngModule, override);
339 }
340
341 static overrideComponent(component: Type<any>, override: MetadataOverride<Component>): TestBed {
342 return TestBedImpl.INSTANCE.overrideComponent(component, override);

Callers

nothing calls this directly

Calls 2

assertNotInstantiatedMethod · 0.95
overrideModuleMethod · 0.65

Tested by

no test coverage detected