diff --git a/src/cdk/overlay/scroll/block-scroll-strategy.spec.ts b/src/cdk/overlay/scroll/block-scroll-strategy.spec.ts index c4970763eee..fe5e9004c16 100644 --- a/src/cdk/overlay/scroll/block-scroll-strategy.spec.ts +++ b/src/cdk/overlay/scroll/block-scroll-strategy.spec.ts @@ -122,6 +122,9 @@ describe('BlockScrollStrategy', () => { expect(root.style.top).toBe('13px'); expect(root.style.left).toBe('37px'); + + root.style.top = ''; + root.style.left = ''; })); it(`should't do anything if the page isn't scrollable`, skipIOS(() => {