mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
test(components): [form] add missing async keyword (#20906)
This commit is contained in:
@@ -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 }))
|
||||
|
||||
Reference in New Issue
Block a user