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

View File

@@ -19,7 +19,7 @@ test('switch checkbox', async () => {
test('disabled', () => {
const wrapper = mount(Checkbox, {
propsData: {
props: {
disabled: true,
},
});
@@ -33,7 +33,7 @@ test('label disabled', () => {
scopedSlots: {
default: () => 'Label',
},
propsData: {
props: {
labelDisabled: true,
},
});
@@ -96,7 +96,7 @@ test('label-position prop', () => {
scopedSlots: {
default: () => 'Label',
},
propsData: {
props: {
labelPosition: 'left',
},
});