mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[Improvement] upgrade to jest-serializer-vue@2.0 (#1215)
This commit is contained in:
@@ -111,12 +111,12 @@ test('column watch default index', () => {
|
||||
}
|
||||
});
|
||||
wrapper.vm.options = [disabled, ...simpleColumn];
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
|
||||
wrapper.vm.options = [disabled, ...simpleColumn];
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
|
||||
wrapper.vm.options = [1, disabled, disabled, disabled];
|
||||
wrapper.vm.defaultIndex = 2;
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
Reference in New Issue
Block a user