Acerca de
This skill provides a comprehensive framework for writing maintainable tests using Jest and React Testing Library. It streamlines the testing process by emphasizing a Test-Driven Development (TDD) lifecycle—Red, Green, Refactor—and promotes the use of the Factory Pattern to significantly reduce boilerplate code when setting up test data and component props. By focusing on behavior-driven testing rather than implementation details, it helps developers create resilient test suites that handle complex scenarios like GraphQL mocking, theme providers, and asynchronous user interactions.