mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
✅ Fix carousel test case
This commit is contained in:
parent
d07b298ae4
commit
d45d494a4b
@ -87,7 +87,6 @@ describe('Carousel', () => {
|
||||
<div />
|
||||
</Carousel>,
|
||||
);
|
||||
jest.runAllTimers();
|
||||
expect(wrapper.render()).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
@ -122,6 +121,7 @@ describe('Carousel', () => {
|
||||
children: [<div key="1" />, <div key="2" />, <div key="3" />],
|
||||
});
|
||||
wrapper.update();
|
||||
jest.runAllTimers();
|
||||
expect(
|
||||
wrapper
|
||||
.find('.slick-dots li')
|
||||
|
Loading…
Reference in New Issue
Block a user