From 661c6e6f10a490fccba129404279e43746851042 Mon Sep 17 00:00:00 2001 From: Alex Rickabaugh Date: Fri, 24 May 2019 14:41:46 -0700 Subject: [PATCH] fix(ivy): fix PR collision with static: true and new test (#30666) This fixes a collision between #30639 and #30543 where the latter added usages of @ViewChild without the static flag present, but the former made the flag required. PR Close #30666 --- packages/core/test/acceptance/styling_next_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }