Skip to content

Commit

Permalink
fix(host): make host fixture visible again
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkluijk committed Aug 26, 2019
1 parent a559824 commit 9d98f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/spectator/src/lib/spectator-host/spectator-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export class SpectatorHost<C, H = HostComponent> extends Spectator<C> {
public hostComponent: H,
public hostDebugElement: DebugElement,
public hostElement: HTMLElement,
fixture: ComponentFixture<any>,
public hostFixture: ComponentFixture<any>,
debugElement?: DebugElement
) {
super(
fixture,
hostFixture,
debugElement || hostDebugElement,
debugElement ? debugElement.componentInstance : hostComponent,
debugElement ? debugElement.nativeElement : hostDebugElement.nativeElement
Expand Down

0 comments on commit 9d98f25

Please sign in to comment.