mirror of
https://github.com/youzan/vant.git
synced 2026-05-16 01:07:43 +08:00
test: replace propsData with props
This commit is contained in:
@@ -33,7 +33,7 @@ test('bottom slot', () => {
|
||||
|
||||
test('render svg when image is network', () => {
|
||||
const wrapper = mount(Empty, {
|
||||
propsData: {
|
||||
props: {
|
||||
image: 'network',
|
||||
},
|
||||
});
|
||||
@@ -43,7 +43,7 @@ test('render svg when image is network', () => {
|
||||
|
||||
test('image-size prop', () => {
|
||||
const wrapper = mount(Empty, {
|
||||
propsData: {
|
||||
props: {
|
||||
imageSize: 50,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user