LogoClawIndex
CasesSkillsAbout
LogoClawIndex

react-testing - Test React components, hooks, context, and forms

Provides patterns for testing React components, hooks, context providers, and forms with Vitest Browser Mode or legacy Testing Library APIs.

Tags

Updated: 2026-09-29
ReacttestingVitestcomponent testinghook testingform testing

Capabilities

Test React componentsTest custom hooksTest context providersTest form interactions

Typical Inputs

React componentsReact hooksContext providers

Typical Outputs

Test resultsRendered UI assertionsCallback assertions

What this skill does

  • Test React components
  • Test custom hooks
  • Test context providers
  • Test form interactions
  • Test conditional rendering
  • Test callbacks and props

Inputs

  • React components
  • React hooks
  • Context providers
  • Form interactions
  • Component props
  • Test configuration

Outputs

  • Test results
  • Rendered UI assertions
  • Callback assertions
  • Form validation assertions

Requirements

  • React project
  • Vitest
  • Vitest Browser Mode
  • Playwright browser provider
  • vitest-browser-react
  • Vite React plugin

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.