Skip to content

Commit

Permalink
fix(directive): fix missing directive instance
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkluijk committed Aug 26, 2019
1 parent d9bd304 commit 6e58ce1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function createSpectatorDirective<D, H>(options: Required<SpectatorDirectiveOpti
hostFixture.componentInstance,
hostFixture,
hostFixture.debugElement,
debugElement.componentInstance,
debugElement.injector.get(options.directive),
debugElement.nativeElement
);
}

0 comments on commit 6e58ce1

Please sign in to comment.