What problem does it solve?
This Skill provides a robust and fast unit testing framework, enabling developers to quickly identify and fix bugs early in the development cycle, ensuring code quality and stability.
Core Features & Use Cases
- Fast Execution: Leverages Vite for near-instantaneous test runs and HMR-like updates.
- Jest Compatibility: Offers a familiar API for easy adoption and migration.
- Comprehensive Tooling: Includes mocking, snapshot testing, code coverage, and type checking.
- Use Case: When developing a new React component, use this Skill to write unit tests that verify its rendering, state changes, and event handling, ensuring it functions correctly in isolation before integrating it into the larger application.
Quick Start
Use the vitest skill to run all tests in the project and report code coverage.