diff --git a/components/typography/__tests__/index.test.js b/components/typography/__tests__/index.test.js index 92b6f810c..652cb3fd0 100644 --- a/components/typography/__tests__/index.test.js +++ b/components/typography/__tests__/index.test.js @@ -75,7 +75,7 @@ describe('Typography', () => { expect(onEllipsis).toHaveBeenCalledWith(true); onEllipsis.mockReset(); wrapper.setProps({ ellipsis: { rows: 2, onEllipsis } }); - await sleep(100); + await sleep(300); expect(wrapper.text()).toEqual('Bamboo is Little Light Bamboo is Litt...'); expect(onEllipsis).not.toHaveBeenCalled();