diff --git a/projects/spectator/src/lib/spectator-host/spectator-host.ts b/projects/spectator/src/lib/spectator-host/spectator-host.ts index 8208e13e..1a1ec979 100644 --- a/projects/spectator/src/lib/spectator-host/spectator-host.ts +++ b/projects/spectator/src/lib/spectator-host/spectator-host.ts @@ -22,11 +22,11 @@ export class SpectatorHost extends Spectator { public hostComponent: H, public hostDebugElement: DebugElement, public hostElement: HTMLElement, - fixture: ComponentFixture, + public hostFixture: ComponentFixture, debugElement?: DebugElement ) { super( - fixture, + hostFixture, debugElement || hostDebugElement, debugElement ? debugElement.componentInstance : hostComponent, debugElement ? debugElement.nativeElement : hostDebugElement.nativeElement