-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: this.el.select2 is not a function #83
Comments
I'm having the same problem. This is what i have in my |
I'm also having the same issue with the latest
|
i only got this error when using |
@rkit any help you could provide here? I've spent a week trying to figure this out, building mocks for select2, importing jquery in different places, etc. This is the only issue preventing me from using your library. |
solved by adding this
on jest setup file |
Thank you @agungyuliaji, you're a lifesaver! |
Glad to hear that! |
the issue was resolved for me when I added Thanks @agungyuliaji |
@rkit this can be closed. |
#36 is still happening with the latest version
1.0.4-beta
.TypeError: this.el.select2 is not a function
when mounting a component in a Jest unit test.The text was updated successfully, but these errors were encountered: