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

Method configureTestingModule

packages/core/testing/src/test_bed.ts:324–326  ·  view source on GitHub ↗

* Allows overriding default providers, directives, pipes, modules of the test injector, * which are defined in test_injector.js

(moduleDef: TestModuleMetadata)

Source from the content-addressed store, hash-verified

322 * which are defined in test_injector.js
323 */
324 static configureTestingModule(moduleDef: TestModuleMetadata): TestBed {
325 return TestBedImpl.INSTANCE.configureTestingModule(moduleDef);
326 }
327
328 /**
329 * Compile components with a `templateUrl` for the test's NgModule.

Callers

nothing calls this directly

Tested by

no test coverage detected