SKILL5.3K installs3.4K

React Native Testing

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".

Type
Skill
Author
callstack
GitHub stars
3.4K
Installs
5.3K
Last updated
October 20, 2026

Install

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

About this skill

Helps write, review, and fix React Native component tests using React Native Testing Library v13 and v14. It covers render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns, supporting both v13's sync render on React 18 and v14's async render on React 19+. Triggers on RNTL imports, test files for React Native components, and requests to write component tests.

Summary written with AI assistance from the project's public description.


Categories


Similar Skills