SKILL
react-testing
React 组件测试,使用 React Testing Library、Vitest/Jest、MSW 网络 mock 和 axe 无障碍断言,并明确组件测试与 Playwright/Cypress 端到端测试的适用边界。编写或修复 React 组件、hooks 或页面测试时使用。
译文已校对查看英文原文
React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress end-to-end runs. Use when writing or fixing tests for React components, hooks, or pages.
适用对象:React / Next.js。自动收录 · 待核查。
在 Claude Code 中使用
该组合的专门教程待补充,尚未核实适配。
准备条件
- 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。
选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。
查看原作者说明 ↗