mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
test(overlay): block scroll strategy testing styles leaking into other tests (#14771)
Fixes some styles that are assigned to the `html` node not being reset after the test is done.
This commit is contained in:
committed by
Andrew Seguin
parent
fffbcb19ee
commit
2ad92e4516
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user