test: replace propsData with props

This commit is contained in:
chenjiahan
2020-11-13 23:33:15 +08:00
parent c33720a793
commit e627805746
54 changed files with 377 additions and 377 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import Loading from '..';
test('size prop', () => {
const wrapper = mount(Loading, {
propsData: {
props: {
size: 20,
},
});
@@ -13,7 +13,7 @@ test('size prop', () => {
test('text-size prop', () => {
const wrapper = mount(Loading, {
propsData: {
props: {
textSize: 20,
},
scopedSlots: {