Skip to content

Commit d3d9a3b

Browse files
committed
test(overlay): use static queries w/ fullscreen overlay container
1 parent 4d38453 commit d3d9a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/overlay/fullscreen-overlay-container.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe('FullscreenOverlayContainer', () => {
111111
providers: [Overlay],
112112
})
113113
class TestComponentWithTemplatePortals {
114-
@ViewChild(CdkPortal) templatePortal: CdkPortal;
114+
@ViewChild(CdkPortal, {static: true}) templatePortal: CdkPortal;
115115

116116
constructor(public viewContainerRef: ViewContainerRef) { }
117117
}

0 commit comments

Comments
 (0)