react-native-testing
Audited by Runlayer on Feb 21, 2026
Tool passed security scan
Malicious tool definition detected
Element is hidden when it or any ancestor has: - `display: none` style - `aria-hidden={true}` - `accessibilityElementsHidden={true}` (iOS) - `importantForAccessibility="no-hide-descendants"` (Android) - Sibling with `aria-modal={true}` or `accessibilityViewIsModal={true}` (iOS) --- ## React 19 Compatibility (v13.3+) For React 19 or Suspense, use async variants: ```tsx import { renderAsync, screen, fireEventAsync } from '@testing-library/react-native'; test('async component', async () => { await
Malicious tool definition detected
### Example ```tsx import { render, screen } from '@testing-library/react-native'; await render(<MyApp />); expect(screen.getByRole('button', { name: 'start' })).toBeOnTheScreen(); // With wrapper await render(<MyComponent />, { wrapper: ({ children }) => <ThemeProvider>{children}</ThemeProvider>, }); ``` --- ## screen ```ts let screen: { ...queries; rerender(element: React.Element<unknown>): Promise<void>; // async unmount(): Promise<void>; // async debug(options?: { message?: string; mapProps?
Tool: references/api-reference-v14.md [2/3] Description: advanceTimers?: (delay: number) => Promise<void> | void }); ``` ### `press(element)` ```ts await user.press(element): Promise<void>; ``` Full press lifecycle: `pressIn` → `press` → `pressOut`. Minimum 130ms.
Passed Files (2)Click to expand
Tool passed security scan
Tool passed security scan