component-testing

Installation
SKILL.md

Component Testing Patterns

Comprehensive testing patterns for React components with MSW, React Query, and Vitest. All components require comprehensive tests with minimum 80% coverage.

When to Apply

Reference these patterns when:

  • Writing new component tests
  • Setting up MSW mocks for API interactions
  • Testing React Query data fetching
  • Ensuring test coverage requirements
  • Testing user interactions and form validation
  • Testing error states and loading states

Quick Reference

Test File Structure

Installs
1
GitHub Stars
19
First Seen
Apr 17, 2026