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
MrDeerly opened this issue Oct 7, 2021 · 1 comment
Closed

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

MrDeerly opened this issue Oct 7, 2021 · 1 comment
Labels

Comments

@MrDeerly
Copy link

MrDeerly 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 jest@27.x or vue-jest for jest@26.x.

jest vue You should choose...
26.x 2.x vue-jest@4.x
26.x 3.x vue-jest@5.x
27.x 2.x @vue/vue2-jest@27.x
27.x 3.x @vue/vue3-jest@27.x

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