关于
This skill provides a comprehensive framework for writing robust unit and integration tests using Jest and React Testing Library. It emphasizes a Test-Driven Development (TDD) approach, focusing on behavior-driven testing rather than implementation details. By leveraging factory patterns for data and props, it minimizes boilerplate and ensures test suites remain DRY and maintainable. It includes specialized strategies for mocking GraphQL hooks, modules, and providers, making it an essential tool for developers building complex applications who want to maintain high code quality and reliable software through automated verification.