frontend-testing-patterns
Installation
SKILL.md
Frontend Testing Patterns
This skill provides patterns for testing React applications using Vitest and React Testing Library.
Canonical Examples
Study these real implementations:
- Component Test: task-template-card.test.tsx
- Hook Test: use-task-templates.test.tsx
Testing Pyramid
E2E Tests (Few) ← Playwright (critical user flows)
Integration Tests (Some) ← React Testing Library (component + hooks)
Unit Tests (Many) ← Vitest (utilities, helpers)