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
+4 -4
View File
@@ -10,7 +10,7 @@ test('click event', () => {
test('close event', () => {
const wrapper = mount(NoticeBar, {
propsData: {
props: {
mode: 'closeable',
},
});
@@ -39,7 +39,7 @@ test('icon slot', () => {
test('replay event', async () => {
const wrapper = mount(NoticeBar, {
propsData: {
props: {
text: 'foo',
},
});
@@ -51,7 +51,7 @@ test('replay event', async () => {
test('should scroll when content width > wrap width ', async () => {
const wrapper = mount(NoticeBar, {
propsData: {
props: {
text: 'foo',
delay: 0,
},
@@ -74,7 +74,7 @@ test('should scroll when content width > wrap width ', async () => {
test('should not scroll when content width > wrap width ', async () => {
const wrapper = mount(NoticeBar, {
propsData: {
props: {
text: 'foo',
delay: 0,
},