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
+1 -1
View File
@@ -18,7 +18,7 @@ test('should emit click event after clicking the ContactCard', () => {
test('should not emit click event after clicking the uneditable ContactCard', () => {
const click = jest.fn();
const wrapper = mount(ContactCard, {
propsData: {
props: {
editable: false,
},
context: {