From 49c6cbcab0fa45cefe5f1f586cb45553a0860f49 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 20 Nov 2017 20:02:13 +0100 Subject: [PATCH] chore: fix test compilation error (#8559) Fixes a compilation error due to the constructor changing between PRs. --- src/cdk/overlay/position/connected-position-strategy.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdk/overlay/position/connected-position-strategy.spec.ts b/src/cdk/overlay/position/connected-position-strategy.spec.ts index 6af7f157f9a..2d6b9572c1d 100644 --- a/src/cdk/overlay/position/connected-position-strategy.spec.ts +++ b/src/cdk/overlay/position/connected-position-strategy.spec.ts @@ -441,7 +441,7 @@ describe('ConnectedPositionStrategy', () => { }); it('should re-use the preferred position when re-applying while locked in', () => { - positionBuilder = new OverlayPositionBuilder(viewportRuler); + positionBuilder = new OverlayPositionBuilder(viewportRuler, document); strategy = positionBuilder.connectedTo( fakeElementRef, {originX: 'end', originY: 'center'},