What problem does it solve?
This Skill guides developers in implementing and refining Vitest-based tests, reducing setup time and cognitive load when writing and debugging tests.
Core Features & Use Cases
- Test creation guidance: structuring new .test.ts/.test.tsx files with clear expectations.
- Debugging & coverage: effective strategies to diagnose failures and improve test coverage across codebases.
- Best practices: recommended mocking, test organization, and running targeted tests in large repositories.
- Use Case: starting a new TypeScript project or fixing flaky tests, use this Skill to organize tests and verify coverage quickly.
Quick Start
Use Vitest to run tests in your project. Example: run all tests from the project root with bunx vitest run --silent. To run a specific file, use bunx vitest run path/to/file.test.ts.