chore: bump @vant/cli@3.5.1 (#8221)

This commit is contained in:
neverland
2021-02-26 10:24:53 +08:00
committed by GitHub
parent 6aa2beeda4
commit 1dbe9c54eb
23 changed files with 403 additions and 203 deletions
+2 -2
View File
@@ -49,14 +49,14 @@ test('should emit save event after submitting form', async () => {
});
await submitForm(wrapper);
expect(wrapper.emitted<[ContactInfo]>('save')[0][0]).toEqual(contactInfo);
expect(wrapper.emitted<[ContactInfo]>('save')![0][0]).toEqual(contactInfo);
});
test('should watch contact info', async () => {
const wrapper = mount(ContactEdit);
await wrapper.setProps({ contactInfo });
await submitForm(wrapper);
expect(wrapper.emitted<[ContactInfo]>('save')[0][0]).toEqual(contactInfo);
expect(wrapper.emitted<[ContactInfo]>('save')![0][0]).toEqual(contactInfo);
});
test('should allow deleting contact', async () => {