From 8a8cc52ab48e23cb805ad2af4449c7f4f0df103d Mon Sep 17 00:00:00 2001 From: yonatankra Date: Sun, 13 Feb 2022 19:49:45 +0200 Subject: [PATCH] Fix the tests --- components/popup/test/popup.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/popup/test/popup.test.js b/components/popup/test/popup.test.js index 8a5f38cccc..33927e91e5 100644 --- a/components/popup/test/popup.test.js +++ b/components/popup/test/popup.test.js @@ -144,7 +144,7 @@ describe('popup', () => { anchorElement.style.height = '20px'; - await waitNextTask(); + await waitInterval(20); expect(updatePositionCallCount).to.equal(1); });