mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
fix(create-vant-cli-app): fix vue3 test cases
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`render demo button 1`] = `<button class="demo-button"></button>`;
|
||||
exports[`render demo button 1`] = `
|
||||
<button class="demo-button">
|
||||
</button>
|
||||
`;
|
||||
|
@@ -3,5 +3,5 @@ import DemoButton from '../../demo-button';
|
||||
|
||||
test('render demo button', () => {
|
||||
const wrapper = mount(DemoButton);
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
|
Reference in New Issue
Block a user