This is a practical reference for Jest testing with a strong emphasis on factory functions and TDD workflow. It covers the getMockX pattern for creating test data with sensible defaults and overrides, custom render functions that wrap providers, and mocking strategies for modules and GraphQL hooks. The real value is in the opinionated structure: it pushes you to write failing tests first, use descriptive test names focused on behavior rather than implementation, and organize tests into rendering, interactions, and edge cases. The anti-patterns section is helpful for catching common mistakes like testing mock behavior instead of actual component output. Works well if you want consistent test patterns across a codebase rather than ad hoc approaches.
npx skills add https://github.com/davila7/claude-code-templates --skill testing-patterns