Open Jon-Biz opened 2 weeks ago
Built without sensitive environment variables
Name | Link |
---|---|
Latest commit | ccabc42ce40779507756d076045fbd820ec009f3 |
Latest deploy log | https://app.netlify.com/sites/jestjs/deploys/6668a825e26fa80008b3f49a |
Deploy Preview | https://deploy-preview-15122--jestjs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks. I was looking at the text again. Perhaps it would be enough to say that Vite's plugins are not compatible with Jest's transforms? And to point to the issue in Vite's repo? Users can find all details and possible solutions there.
Also it does not look right to advertise another testing framework. That's for sure is a red flag (;
@mrazauskas as a new Vite + Vitest user, I find that it helps having some context about other tools that have been used in the past and are no longer recommended or don't work anymore, since you can still find posts recommending vite-jest on StackOverflow or other places
Summary
As per #15121 the current information regarding usage with Vite is out of date. The recommended compatibility library vite-jest appears to be unmaintained and is not compatible with the current Vite release.
Additionally, this change points users to Vitest, a currently maintained alternative to which I have found migration relatively painless.
Test plan
No tests, just documentation.