Skip to content

Commit 49c6cbc

Browse files
crisbetojelbourn
authored andcommitted
chore: fix test compilation error (#8559)
Fixes a compilation error due to the constructor changing between PRs.
1 parent 4c45c79 commit 49c6cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/overlay/position/connected-position-strategy.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ describe('ConnectedPositionStrategy', () => {
441441
});
442442

443443
it('should re-use the preferred position when re-applying while locked in', () => {
444-
positionBuilder = new OverlayPositionBuilder(viewportRuler);
444+
positionBuilder = new OverlayPositionBuilder(viewportRuler, document);
445445
strategy = positionBuilder.connectedTo(
446446
fakeElementRef,
447447
{originX: 'end', originY: 'center'},

0 commit comments

Comments
 (0)