chore: fix swipeTo case may fail

This commit is contained in:
陈嘉涵 2020-01-14 17:22:32 +08:00
parent 8d4d965a85
commit cb3934cdf8

View File

@ -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);
});