[Improvement] upgrade to jest-serializer-vue@2.0 (#1215)
This commit is contained in:
@@ -15,7 +15,7 @@ test('render image', () => {
|
||||
propsData: { images }
|
||||
});
|
||||
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
|
||||
const swipe = wrapper.find('.van-swipe__track');
|
||||
triggerDrag(swipe, 500, 0);
|
||||
|
||||
Reference in New Issue
Block a user