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
@@ -164,7 +164,7 @@ test('name prop', () => {
test('disable border', () => {
const wrapper = mount(Tabbar, {
propsData: {
props: {
border: false,
},
});
@@ -176,7 +176,7 @@ test('placeholder prop', () => {
const restore = mockGetBoundingClientRect({ height: 50 });
const wrapper = mount(Tabbar, {
propsData: {
props: {
fixed: true,
placeholder: true,
},