react-testing
Installation
SKILL.md
React Testing Guidelines
Testing Philosophy
- User-centric testing: Write tests that resemble how users interact with the app.
- Avoid implementation details: Focus on behavior, not internal component structure.
- Do not share state between tests: Behavior should not be influenced by other tests in the test suite.
Imports
Always import from sentry-test/reactTestingLibrary, not directly from @testing-library/react: