MCPInstall

react-native-testing-library

1 skill from callstack/react-native-testing-library · 5.3K installs

Install every skill in this repository:

npx skills add https://github.com/callstack/react-native-testing-library
  1. 1

    Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React 18, sync render) and v14 (React 19+, async render). Triggers on: test files for React Native components, RNTL imports, mentions of "testing library", "write tests", "component tests", or "RNTL".