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
Mis à jour 11/18/2025
Étoiles
4
Forks
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.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use manage-react-hook-tests