Skip to content

chore: migrate to Vitest v4#10

Merged
aminevg merged 1 commit intomainfrom
migrate-vitest-v4
Mar 19, 2026
Merged

chore: migrate to Vitest v4#10
aminevg merged 1 commit intomainfrom
migrate-vitest-v4

Conversation

@aminevg
Copy link
Contributor

@aminevg aminevg commented Mar 19, 2026

Summary

  • Upgrade vitest from v3 (^3.1.4) to v4 (^4.1.0)
  • No configuration or test code changes needed — the project was already using the v4-compatible projects field instead of the deprecated workspace option

Migration guide reference

https://vitest.dev/guide/migration.html#vitest-4

Key breaking changes reviewed (none affect this project):

  • workspaceprojects: already using projects
  • Third-argument options syntax removed: not used
  • Pool config consolidation (maxThreads/maxForksmaxWorkers): no custom pool config
  • Coverage option changes: no coverage config
  • Browser provider changes: no browser testing
  • Reporter removals (basic, verbose): not used
  • vite-node removal: not referenced directly

Test plan

  • All 11 test files / 46 tests pass with pnpm test

@aminevg aminevg merged commit c47fcc2 into main Mar 19, 2026
3 checks passed
@aminevg aminevg deleted the migrate-vitest-v4 branch March 19, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant