React Testing

Write and review React/TypeScript tests for Sentry's frontend using Jest and React Testing Library. Use when adding or editing tests in static/ (*.spec.tsx), writing component/hook tests, mocking API responses with MockApiClient, testing routing or network requests, or when asked to "write a frontend test", "add a React test", "test this component", or "fix a flaky RTL test".

tuyv c8ef58a 4 files · 24.7 KB Updated

File contents

tuyv/ccpm/tree/main/preset-registry/skills/getsentry-sentry-react-testing commit c8ef58a896

Frequently asked questions

npx skillmds@latest add tuyv/react-testing