vitest-knowledge-patch
Installation
SKILL.md
Vitest Knowledge Patch
Use this skill when configuring, migrating, extending, or debugging a modern Vitest suite. Start with the migration notes, then open the topic reference that matches the work.
Reference index
| Reference | Topics |
|---|---|
| Browser Mode | Provider setup, instances, locators, debugging, traces, screenshots, and browser UI |
| Experimental features | Native Node execution, file-system module cache, OpenTelemetry, import timings, changed-file providers, and leak detection |
| Migration and configuration | Workspace migration, compatibility changes, source-line filtering, and watch triggers |
| Projects and coverage | Project discovery and inheritance, scheduling, coverage providers/reporters, exclusions, and changed-file coverage |
| Reporters and integrations | Reporter migration, annotations, GitHub Actions, editor behavior, and programmatic APIs |
| Test APIs | Fixtures, hooks, annotations, tags, matchers, mocks, timers, metadata, and snapshots |
Migrate configuration first
Replace both workspace forms with root-level test.projects: