test(components): [form] add missing async keyword (#20906)

This commit is contained in:
Noblet Ouways
2025-06-02 14:21:53 +02:00
committed by GitHub
parent 1e0297b118
commit bae467696d

View File

@@ -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 }))