LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

testing-patterns - Jest testing patterns, factory functions, and TDD workflow

Provides Jest testing patterns, factory functions, mocking strategies, and TDD workflows for unit testing.

Tags

Updated: 2026-09-16

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write unit tests using TDD
  • Create component and data factories
  • Mock modules and GraphQL hooks
  • Simulate component user interactions
  • Run tests and coverage reports

Inputs

  • React Native components
  • Component props and data models
  • Jest test files

Outputs

  • Unit test files
  • Test factory functions
  • Mock implementations
  • Test coverage reports

Requirements

  • Jest
  • React Native Testing Library
  • Node.js and npm

Source

  • Spec: SKILL.md
testing
jest
tdd
factory-pattern
mocking
react-native
Write unit tests using TDD
Create component and data factories
Mock modules and GraphQL hooks
Simulate component user interactions
React Native components
Component props and data models
Jest test files
Unit test files
Test factory functions
Mock implementations