From 7c64b23c79ee23eb26ca4ce55991d413d8d61244 Mon Sep 17 00:00:00 2001 From: Andrei Zhaleznichenka Date: Wed, 26 Jul 2023 12:01:39 +0200 Subject: [PATCH] chore: Fix flaky resize oscillation test --- src/table/__integ__/resizable-columns-misc.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table/__integ__/resizable-columns-misc.test.ts b/src/table/__integ__/resizable-columns-misc.test.ts index ff0765b427..d68f13507b 100644 --- a/src/table/__integ__/resizable-columns-misc.test.ts +++ b/src/table/__integ__/resizable-columns-misc.test.ts @@ -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([]);