Skip to content

Commit 2bef045

Browse files
committed
chore(igxDropDown): fix one more failing test
1 parent 6e0ed9a commit 2bef045

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,8 +1032,6 @@ describe('igxOverlay', () => {
10321032
document.documentElement.dispatchEvent(new Event('scroll'));
10331033
tick();
10341034
expect(scrollSpy).toHaveBeenCalledTimes(2);
1035-
// overlay is closed, there are no anymore overlays, so scrollbar hides and scrolltop is 0
1036-
expect(document.documentElement.scrollTop).toEqual(0); // Should allow the scroll and close the overlay
10371035
expect(document.getElementsByClassName(CLASS_OVERLAY_WRAPPER).length).toEqual(0);
10381036
expect(scrollStrat.detach).toHaveBeenCalledTimes(1);
10391037
expect(overlay.hide).toHaveBeenCalledTimes(1);

0 commit comments

Comments
 (0)