What problem does it solve?
This Skill helps developers efficiently configure, migrate to, and optimize Vitest for testing Vite-integrated applications, addressing complex Jest migrations and browser testing scenarios.
Core Features & Use Cases
- Vitest Configuration: Guides on setting up Vitest with Vite, including pool configurations and HMR integration.
- Jest Migration: Provides strategies for migrating from Jest to Vitest, handling API differences and mock behaviors.
- Browser Testing: Enables configuration and optimization of browser-based testing with tools like Playwright.
- Performance Optimization: Identifies and resolves bottlenecks in test execution speed and resource usage.
- Use Case: A developer needs to migrate their existing Jest test suite to Vitest for a Vite project and wants to ensure optimal performance and compatibility, especially for component tests running in a browser environment.
Quick Start
Use the vitest-testing-expert skill to help configure Vitest for a Vite project, focusing on browser mode testing.