--- name: react-native-web-testing user-invocable: false description: Use when testing React Native Web applications. Provides patterns for Jest, React Native Testing Library, component testing, and web-specific testing strategies. allowed-tools: - Read - Write - Edit - Bash - Grep - Glob --- # React Native Web - Testing Comprehensive testing patterns for React Native Web applications using Jest and React Native Testing Library. ## Key Concepts ### React Native Testing Library The standard testing library for React Native components: ```typescript import { render, screen, fireEvent } from '@testing-library/react-native'; import { Button } from './Button'; describe('Button', () => { it('calls onPress when pressed', () => { const onPress = jest.fn(); render(