mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix test compilation error (#8559)
Fixes a compilation error due to the constructor changing between PRs.
This commit is contained in:
committed by
Jeremy Elbourn
parent
4c45c79b41
commit
49c6cbcab0
@@ -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'},
|
||||
|
||||
Reference in New Issue
Block a user