mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #65] [MERGED] chore: upgrade vitest from v3 to v4 #284
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/65
Author: @southpolesteve
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @southpolesteve
Base:
main← Head:chore/upgrade-vitest-4📝 Commits (1)
41ceeb4chore: upgrade vitest from v3 to v4📊 Changes
2 files changed (+81 additions, -150 deletions)
View changed files
📝
package.json(+1 -1)📝
pnpm-lock.yaml(+80 -149)📄 Description
Summary
vitestfrom^3.2.1(resolved 3.2.4) to^4.0.0(resolved 4.0.18)Notable Vitest 4 changes (none affect us currently, but good to be aware of):
vite-nodereplaced with Vite's built-in Module Runnertinypooldependency;poolOptionsflattened to top-levelworkspaceconfig renamed toprojectsvi.fn().getMockName()returnsvi.fn()instead ofspyvi.restoreAllMocksno longer resets automockscoverage.allandcoverage.extensionsremoved🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.