diff --git a/packages/components/form/__tests__/form.test.tsx b/packages/components/form/__tests__/form.test.tsx index c9d9a9baaa..74580f1a0c 100644 --- a/packages/components/form/__tests__/form.test.tsx +++ b/packages/components/form/__tests__/form.test.tsx @@ -546,7 +546,7 @@ describe('Form', () => { }) const vm = wrapper.vm - function validate() { + async function validate() { return (vm.$refs.formRef as FormInstance) .validate() .then(() => ({ valid: true, fields: undefined }))