When I try to test 2 components (with 2 different test files), just the first file will pass.
The second will fail with [Vue warn]: Error in directive validate bind hook: "TypeError: Cannot read property '$scopedSlots' of undefined"
.
I'm really failing to get this working. Has anyone seen/solved this problem?
Already placed issues at VeeValidate
and vue-test-utils
.
You can reproduce this behavior here: https://github.com/jourdanrodrigues/v-validate-issue
Just clone, install and npm run test:unit
. You'll see the error.