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
+3 -3
View File
@@ -18,7 +18,7 @@ test('click event', () => {
test('arrow direction', () => {
const wrapper = mount(Cell, {
propsData: {
props: {
isLink: true,
arrowDirection: 'down',
},
@@ -47,7 +47,7 @@ test('render slot', () => {
test('title-style prop', () => {
const wrapper = mount(Cell, {
propsData: {
props: {
title: 'title',
titleStyle: {
color: 'red',
@@ -70,7 +70,7 @@ test('CellGroup title slot', () => {
test('icon-prefix prop', () => {
const wrapper = mount(Cell, {
propsData: {
props: {
iconPrefix: 'my-icon',
icon: 'success',
},