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); });