migrating-to-vitest-4
Installation
SKILL.md
Migrating to Vitest 4
This skill guides migration from Vitest 2.x/3.x to 4.x, focusing on breaking changes and deprecated patterns.
Migration Overview
Vitest 4.0 introduces breaking changes in:
- Pool Architecture: Consolidated worker configuration
- Coverage: Required explicit include patterns
- Workspace: Replaced by projects array
- Browser Mode: Separate provider packages
- Dependencies: Moved to server namespace
- Module Runner: New Vite-based implementation