You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bundles are now generated with .mjs extension and the main package type was changed to module which is neccessary for Vite/Nuxt moving forward. So I assume jest is having trouble figuring out which installation to use.
Try adding vee-validate to the transformIgnore patterns and see if that helps. If it doesn't please add a repo where this can be reproduced and I will take a look.
I tried adding vee-validate to transformIgnore, and also converted the whole project to type: module. Both to no avail. I do assume it's Jest tho, because it only fails in tests, not when running the app.
What happened?
Since 4.14.4 (specifically 4f88d85) I see this error when running my tests:
Reproduction steps
import { defineRule } from 'vee-validate';
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
no
Code of Conduct
The text was updated successfully, but these errors were encountered: