ComponentFixture

Stable

Class

Class Overview

class ComponentFixture {
constructor(componentRef: ComponentRef<T>, ngZone: NgZone, _autoDetect: boolean)

debugElement : DebugElement
componentInstance : T
nativeElement : any
elementRef : ElementRef
changeDetectorRef : ChangeDetectorRef
componentRef : ComponentRef<T>
ngZone : NgZone
detectChanges(checkNoChanges?: boolean) : void
checkNoChanges() : void
autoDetectChanges(autoDetect?: boolean)
isStable() : boolean
whenStable() : Promise<any>
destroy() : void

}

Class Description

Constructor

constructor(componentRef: ComponentRef<T>, ngZone: NgZone, _autoDetect: boolean)

Class Details

exported from @angular/core/testing/index, defined in @angular/core/testing/component_fixture.ts