Replies: 1 comment
-
No idea, are you shallow rendering or stubbing the form component? Provide a minimal test repo and I can take a look. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The below test returns the following error:
TypeError: Cannot destructure property 'isSubmitting' of 'undefined' as it is undefined.
I haven't found anything related to this kind of error. Should I inject
isSubmitting
somehow in the test?//Form.vue
<VeeForm @submit="onSubmit" v-slot="{isSubmitting}"> //VeeField </VeeForm>
//form.test.js
Beta Was this translation helpful? Give feedback.
All reactions