Skip to content
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

If Jest encountered an unexpected token when testing a Vue single file component #102

Open
sniperadmin opened this issue May 25, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@sniperadmin
Copy link
Owner

Here are the available versions and their corresponding vue and jest versions

Vue version Jest Version Package
Vue 2 Jest <= 26 vue-jest@4
Vue 3 Jest <= 26 vue-jest@5
Vue 2 Jest 27 @vue/vue2-jest
Vue 3 Jest 27 @vue/vue3-jest

This is quoted from this comment => https://stackoverflow.com/a/70176494/11880166

@sniperadmin sniperadmin changed the title if Jest encounters JSON parse errors If Jest encountered an unexpected token when testing a Vue single file component May 25, 2022
@sniperadmin sniperadmin added the documentation Improvements or additions to documentation label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant