mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #512] [MERGED] chore: upgrade vitest to 4.1 #634
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#634
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/512
Author: @james-elicx
Created: 3/12/2026
Status: ✅ Merged
Merged: 3/13/2026
Merged by: @james-elicx
Base:
main← Head:chore/upgrade-vitest-4.1📝 Commits (2)
f2b7bb8chore: upgrade vitest to 4.1d932051fix: clear console.warn spy state before asserting call counts📊 Changes
3 files changed (+92 additions, -164 deletions)
View changed files
📝
package.json(+1 -1)📝
pnpm-lock.yaml(+87 -163)📝
tests/next-config.test.ts(+4 -0)📄 Description
Summary
^3.2.1to^4.1.0vitest.config.tsuses no deprecated options (nopoolOptions,singleThread/singleFork,workspace,basicreporter, etc.)Migration notes checked
Per the Vitest 4 migration guide:
coverage.all/coverage.extensionsremoved — not usedpoolOptions/singleThread/singleForkremoved — not usedbasicreporter removed — not usedworkspace→projectsrename — not used🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.