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