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

Method resetTestEnvironment

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

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

()

Source from the content-addressed store, hash-verified

310 * @publicApi
311 */
312 static resetTestEnvironment(): void {
313 TestBedImpl.INSTANCE.resetTestEnvironment();
314 }
315
316 static configureCompiler(config: {providers?: any[]; useJit?: boolean}): TestBed {
317 return TestBedImpl.INSTANCE.configureCompiler(config);

Callers

nothing calls this directly

Calls 3

resetTestingModuleMethod · 0.95
resetTestEnvironmentMethod · 0.65

Tested by

no test coverage detected