feat(test): upgrade to Vitest v5 with migration support - #2551
Conversation
✅ Deploy Preview for viteplus-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://rfc-vitest-v5-upgrade-viteplus-dev.voidzero-docs.workers.dev (commit 5a72e21)This URL reflects your latest Preview deploymentPreview Deployments by commit |
8186f1e to
2d55279
Compare
5787285 to
0cc40f3
Compare
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
a60f750 to
88d0647
Compare
88d0647 to
5a72e21
Compare
Upgrade
vp testand thevite-plus/test*API to Vitest5.0.0. Update the package graph and config integration. Preserve supported compatibility aliases. Require Node.js^22.18.0 || ^24.11.0 || >=26.0.0.Add a Vitest v5 pass to
vp migrate. Preserve v4 behavior where compatible options exist. Apply safe source changes. Report changes that need manual review. Add runtime guards, regression fixtures, and a migration guide.Keep this PR as a draft until we resolve these upstream issues:
definevalues.@testing-library/jest-dom.See
rfcs/vitest-v5-upgrade.mdfor the design and release requirements. This work supports #2405.