react-native-web-testing
SKILL.md
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:
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(<Button title="Click me" onPress={onPress} />);