mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
test: fix wrapper snapshot usage
This commit is contained in:
@@ -75,7 +75,7 @@ test('icon-size prop', () => {
|
||||
`,
|
||||
});
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
|
||||
test('checked-color prop', () => {
|
||||
@@ -88,5 +88,5 @@ test('checked-color prop', () => {
|
||||
`,
|
||||
});
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
|
Reference in New Issue
Block a user