chore: rename all legacy test cases

This commit is contained in:
chenjiahan
2020-10-13 16:56:11 +08:00
parent ec943578b2
commit f2b6f3d4d1
133 changed files with 0 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { mount } from '../../../test';
import Loading from '..';
test('size prop', () => {
const wrapper = mount(Loading, {
propsData: {
size: 20,
},
});
expect(wrapper).toMatchSnapshot();
});
test('text-size prop', () => {
const wrapper = mount(Loading, {
propsData: {
textSize: 20,
},
scopedSlots: {
default: () => 'Text',
},
});
expect(wrapper).toMatchSnapshot();
});