Skip to content

Commit 71dbc63

Browse files
committed
test(button): adding static true for angular8 #5404
1 parent 1553824 commit 71dbc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/directives/button/button.directive.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('IgxButton', () => {
161161
</span>`
162162
})
163163
class InitButtonComponent {
164-
@ViewChild(IgxButtonDirective, { read: IgxButtonDirective })
164+
@ViewChild(IgxButtonDirective, { read: IgxButtonDirective, static: true })
165165
button: IgxButtonDirective;
166166
}
167167

0 commit comments

Comments
 (0)