home/categories/automation-tools/talbenmoshe-zdr-tools-claude-skills-manage-react-component-tests-skill-md
automation-toolstools

manage-react-component-tests

Create or update test files for React components. Use when user asks to "create component tests", "test MyComponent", "generate tests for component", "update component tests", or mentions needing tests for a React component. Generates vitest test files with render, mocked sub-components, and proper test structure focusing on logic and prop validation.

talbenmoshe
maintainer
talbenmoshe
更新於 11/18/2025
星標
4
分支
0
quick start

Installation and usage

Create or update test files for React components. Use when user asks to "create component tests", "test MyComponent", "generate tests for component", "update component tests", or mentions needing tests for a React component. Generates vitest test files with render, mocked sub-components, and proper test structure focusing on logic and prop validation.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use manage-react-component-tests