refactor(TestBed): remove deprecated TestBed.reset
This commit is contained in:
parent
b238414984
commit
acc0fe6cf9
|
@ -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 = [];
|
||||
|
|
|
@ -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>;
|
||||
|
|
Loading…
Reference in New Issue