Skip to content

Commit

Permalink
chore: Fix flaky resize oscillation test
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot committed Jul 26, 2023
1 parent 8d643d6 commit 7c64b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/__integ__/resizable-columns-misc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test(
await page.click('#shrink-container');
await page.waitForJsTimers();
// flush observations from the container resize
await expect(page.flushObservations()).resolves.not.toEqual([]);
await page.flushObservations();
await page.waitForJsTimers();
// ensure there are no ongoing resizes after we flushed the expected ones above
await expect(page.flushObservations()).resolves.toEqual([]);
Expand Down

0 comments on commit 7c64b23

Please sign in to comment.