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

Method resetTestEnvironment

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

* Reset the providers for the test injector. * * @publicApi

()

Source from the content-addressed store, hash-verified

328 * @publicApi
329 */
330 static resetTestEnvironment(): void {
331 TestBedImpl.INSTANCE.resetTestEnvironment();
332 }
333
334 static configureCompiler(config: {providers?: any[]; useJit?: boolean}): TestBed {
335 return TestBedImpl.INSTANCE.configureCompiler(config);

Callers

nothing calls this directly

Calls 3

resetTestingModuleMethod · 0.95
resetTestEnvironmentMethod · 0.65

Tested by

no test coverage detected