Comprehensive testing approach for React components
.cursorrules in your project rootTest React components effectively: 1. Test behavior, not implementation 2. Use React Testing Library 3. Mock external dependencies 4. Test accessibility with jest-axe 5. Write integration tests for critical flows 6. Snapshot test sparingly 7. Test error states and edge cases 8. Use MSW for API mocking
Comprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.
Cursor
testing
AI coding rules customize how Cursor generates and refactors code for your project. Follow these steps to install React Testing Strategies.
.cursor/rules, for Windsurf use .windsurfrulesComprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.