mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
chore: fix swipeTo case may fail
This commit is contained in:
@@ -48,7 +48,7 @@ test('swipeTo method', async () => {
|
||||
const { swipe } = wrapper.vm.$refs;
|
||||
swipe.swipeTo(2);
|
||||
|
||||
await later(50);
|
||||
await later(100);
|
||||
expect(swipe.active).toEqual(2);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user