diff --git a/components/anchor/__tests__/Anchor.test.js b/components/anchor/__tests__/Anchor.test.js index 2fe66a76f0..3a1a324bf1 100644 --- a/components/anchor/__tests__/Anchor.test.js +++ b/components/anchor/__tests__/Anchor.test.js @@ -65,7 +65,7 @@ describe('Anchor Render', () => { await new Promise(resolve => setTimeout(resolve, 50)); expect(scrollToSpy).toHaveBeenCalled(); expect(wrapper.instance().animating).toBe(true); - await new Promise(resolve => setTimeout(resolve, 500)); + await new Promise(resolve => setTimeout(resolve, 1000)); expect(wrapper.instance().animating).toBe(false); });