react-native-testing

Warn

Audited by Runlayer on Feb 21, 2026

Risk Level: MEDIUM
Scan Summary
Max Score
78%
Files
4
Flagged
2
Chunks
8
Flagged Files (2)
references/api-reference-v13.mdHIGH
78.3%

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

references/api-reference-v14.mdHIGH
78.3%

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
SKILL.mdOK
27.3%

Tool passed security scan

references/anti-patterns.mdOK
4.1%

Tool passed security scan

Audit Metadata
Max File Score
78%
Classification
UNKNOWN_SERVER
Files Scanned
4
Files Flagged
2
Chunks Analyzed
8
Analyzed
Feb 21, 2026, 12:11 PM
Security Audit — runlayer — react-native-testing