What problem does it solve? Writing consistent, maintainable unit tests is hard: test data gets duplicated, mocks become brittle, and teams test implementation details instead of behavior. This Skill provides proven Jest and React Testing Library patterns that keep tests DRY, behavior-focused, and aligned with a TDD red-green-refactor workflow. ## Core Features & Use Cases - Factory Functions: Create reusable getMockX(overrides) factories for component props and data models with sensible defaults, eliminating duplicated and inconsistent test fixtures. - Mocking Strategies: Mock entire modules, GraphQL hooks, and utilities with jest.mock and jest.requireMock, including typed mock access patterns. - TDD Workflow Guidance: Enforces red-before-green, vertical slicing, testing at seams, and refactoring only after green. - Use Case: When adding a new React Native component, use this Skill to scaffold a test suite with a props factory, a custom renderWithTheme wrapper, and organized describe blocks covering rendering, interactions, and edge cases. ## Quick Start Write Jest unit tests for my LoginForm component using factory functions, a custom render with theme provider, and behavior-focused test cases.