Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
arminmeh committed Oct 1, 2024
1 parent 6758923 commit 9970762
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ describe('<DataGridPro /> - Infnite loader', () => {
// arbitrary number to make sure that the bottom of the grid window is reached.
virtualScroller.scrollTop = 12345;
virtualScroller.dispatchEvent(new Event('scroll'));
// wait for the next render cycle
await sleep(0);
// observer was attached
expect(observe.callCount).to.equal(1);
});
Expand Down

0 comments on commit 9970762

Please sign in to comment.