refactor(TestBed): remove deprecated TestBed.reset

This commit is contained in:
Igor Minar 2016-08-15 10:57:14 -07:00 committed by Vikram Subramanian
parent b238414984
commit acc0fe6cf9
2 changed files with 0 additions and 6 deletions

View File

@ -184,11 +184,6 @@ export class TestBed implements Injector {
this.ngModule = null;
}
/**
* @deprecated use `resetTestingModule` instead
*/
reset() { this.resetTestingModule(); }
resetTestingModule() {
this._compiler = null;
this._moduleOverrides = [];

View File

@ -77,7 +77,6 @@ export declare class TestBed implements Injector {
overrideDirective(directive: Type<any>, override: MetadataOverride<DirectiveMetadataType>): void;
overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModuleMetadataType>): void;
overridePipe(pipe: Type<any>, override: MetadataOverride<PipeMetadataType>): void;
/** @deprecated */ reset(): void;
/** @experimental */ resetTestEnvironment(): void;
resetTestingModule(): void;
static compileComponents(): Promise<any>;