-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Docs]: Documentation suggests the vite-jest library for vite compatibility, but vite-jest is obsolete and appears unmaintained. #15121
Comments
Do you suggest to remove those lines on |
Sorry, yes the form seemed to suggest that the second markdown field would be more clearly displayed. I was proposing changing it to the copy in the description section above. To wit: Using ViteJest is not supported by vite due to how the plugin system from vite works. There are examples for jest integration with vite in the vite-jest library, however as of 5/10/24 this library is not compatible with versions of vite later than 2.4.2. |
Thanks! This looks good to me. I mean, the situation is odd, but your text explains it better. Would you like to open a PR with this change? |
Will do. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
1 similar comment
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Page(s)
The Vite section of the getting started page suggests the
vite-jest
library as a 'not fully supported' option for running jest test suites with vite projects. However,vite-jest
requires a version ofvite
3 major release versions behind the current iteration and appears unmaintained.The relevant docs section:
https://jestjs.io/docs/getting-started#using-vite
vite-jest
requires a peer dependencies ofvite@"2.4.2"
andjest@"^27.0.0"
. Vite is now at5.2.13
.vite-jest
appears unmaintained as of July 27 2023:Additionally, the vite guide makes no reference to jest and is likely of no use to people attempting to port jest suites to vite, or otherwise use jest with vite.
Description
The section should be updated to inform vite users that they are probably out of luck, and either warn them of the limitations of the
jest-vite
library, or avoid mentioning it entirely.Using Vite
Jest is not supported by vite due to how the plugin system from vite works.
There are examples for jest integration with vite in the vite-jest library, however as of 5/10/24 this library is not compatible with versions of
vite
later than2.4.2
.The text was updated successfully, but these errors were encountered: