What problem does it solve?
This Skill empowers AI agents to write, execute, and maintain comprehensive tests for React frontend applications, ensuring code quality and catching regressions before they impact users.
Core Features & Use Cases
- Unit & Integration Testing: Write tests for components, hooks, and pages using React Testing Library and Vitest.
- API Mocking: Simulate backend responses with Mock Service Worker (MSW) for isolated testing.
- Accessibility Audits: Automatically check for accessibility violations using jest-axe.
- Use Case: When a new feature is developed, this Skill generates unit tests for all new components and hooks, integration tests for the feature's pages, and ensures API interactions are correctly mocked, all while verifying accessibility compliance.
Quick Start
Write comprehensive tests for the new UserProfile component, ensuring all user interactions and API calls are mocked and accessibility standards are met.