fix(core/testing): move ComponentFixture to core (#9386)
BREAKING CHANGE: `ComponentFixture` will be moving out of `@angular/compiler/testing` to `@angular/core/testing` in this release. For now, it is deprecated from `@angular/compiler/testing`.
This commit is contained in:
17
tools/public_api_guard/compiler/testing.d.ts
vendored
17
tools/public_api_guard/compiler/testing.d.ts
vendored
@ -1,20 +1,3 @@
|
||||
export declare class ComponentFixture<T> {
|
||||
changeDetectorRef: ChangeDetectorRef;
|
||||
componentInstance: any;
|
||||
componentRef: ComponentRef<T>;
|
||||
debugElement: DebugElement;
|
||||
elementRef: ElementRef;
|
||||
nativeElement: any;
|
||||
ngZone: NgZone;
|
||||
constructor(componentRef: ComponentRef<T>, ngZone: NgZone, autoDetect: boolean);
|
||||
autoDetectChanges(autoDetect?: boolean): void;
|
||||
checkNoChanges(): void;
|
||||
destroy(): void;
|
||||
detectChanges(checkNoChanges?: boolean): void;
|
||||
isStable(): boolean;
|
||||
whenStable(): Promise<any>;
|
||||
}
|
||||
|
||||
export declare var ComponentFixtureAutoDetect: OpaqueToken;
|
||||
|
||||
export declare var ComponentFixtureNoNgZone: OpaqueToken;
|
||||
|
Reference in New Issue
Block a user