diff --git a/packages/core/test/acceptance/styling_next_spec.ts b/packages/core/test/acceptance/styling_next_spec.ts index a8385e1808..73bd958a35 100644 --- a/packages/core/test/acceptance/styling_next_spec.ts +++ b/packages/core/test/acceptance/styling_next_spec.ts @@ -383,7 +383,7 @@ describe('new styling integration', () => { map: any = {width: '111px', opacity: '0.5'}; width: string|null = '555px'; - @ViewChild('dir', {read: DirThatSetsStyling}) + @ViewChild('dir', {read: DirThatSetsStyling, static: true}) dir !: DirThatSetsStyling; } @@ -458,7 +458,7 @@ describe('new styling integration', () => { map: any = {width: '555px', height: '555px'}; - @ViewChild('dir', {read: DirThatSetsStyling}) + @ViewChild('dir', {read: DirThatSetsStyling, static: true}) dir !: DirThatSetsStyling; }