mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: fix swipeTo case may fail
This commit is contained in:
parent
8d4d965a85
commit
cb3934cdf8
@ -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);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user