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

Difference between @vue/vue3-jest and vue3-jest #397

Closed
0x0dr1y opened this issue Oct 7, 2021 · 1 comment
Closed

Difference between @vue/vue3-jest and vue3-jest #397

0x0dr1y opened this issue Oct 7, 2021 · 1 comment
Labels

Comments

@0x0dr1y
Copy link

0x0dr1y commented Oct 7, 2021

Hey!

I wonder what the exact difference is between the two packages vue3-jest and @vue/vue3-jest? I'd guess that the package with the @vue prefix is meant to be used with vue-cli, is that assumption correct? It would be cool to have some documentation about those two packages, since it's super misleading especially with outdated docs which recommend to use vue-jest@next (will create a PR for those). Another question is why there is a newer version available for vue3-jest but not for @vue/vue3-jest.

Thanks in advance!

@nogic1008
Copy link
Collaborator

@MrDeerly
vue3-jest is no longer used because vue2-jest namespace was stolen.

You should use @vue/vueX-jest for [email protected] or vue-jest for [email protected].

jest vue You should choose...
26.x 2.x [email protected]
26.x 3.x [email protected]
27.x 2.x @vue/[email protected]
27.x 3.x @vue/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants