react-testing
A maintainer skill in Sentry's repository for writing and reviewing React and TypeScript tests for Sentry's frontend with Jest and React Testing Library.
スキルの内容
A maintainer skill in Sentry's repository for writing and reviewing React and TypeScript tests for Sentry's frontend with Jest and React Testing Library. Tests should follow user workflows, assert specific outcomes such as request payloads and error messages, cover failure paths and stay independent, while appearance belongs in the repository's visual snapshot files rather than DOM tests. Rules cover importing from Sentry's own test wrapper, preferring role queries, using fixture factories instead of hand-written objects, not mocking hooks or contexts, choosing getBy, queryBy or findBy correctly, using userEvent rather than fireEvent, setting routes through the render options, and mocking API responses with MockApiClient.
できること
- Write React Testing Library tests
- Mock API responses with MockApiClient
- Choose the right query and async helpers
- Keep appearance checks in snapshots
概要
- 公開元
- Sentry
- ツール
- Sentry
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- SOURCES.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Sentry, テスト | |
| 公開元 | Sentry | 出典 |
| 公式かどうか | 公式in Sentry's own repository; a maintainer skill for Sentry's code, not for Sentry users | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | NOASSERTION | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 45,751ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- スキルファイル(SKILL.md)github.com/getsentry/sentry · 根拠となる項目:公式かどうか, ライセンス2026年11月10日
- GitHubリポジトリgithub.com/getsentry/sentry · 根拠となる項目:公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(react-testing)github.com/getsentry/sentry · 根拠となる項目:スクリプトを含む2026年11月10日