home/categories/testing/talbenmoshe-zdr-tools-claude-skills-manage-react-hook-tests-skill-md
testingtesting-security

manage-react-hook-tests

Create or update test files for React hooks. Use when user asks to "create hook tests", "test useMyHook", "generate tests for hook", "update hook tests", or mentions needing tests for a React hook. Generates vitest test files with renderHook, Fake context providers, and proper test structure.

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

Installation and usage

Create or update test files for React hooks. Use when user asks to "create hook tests", "test useMyHook", "generate tests for hook", "update hook tests", or mentions needing tests for a React hook. Generates vitest test files with renderHook, Fake context providers, and proper test structure.

安裝
$ install --globalskills.sh
使用

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

skills use manage-react-hook-tests