UNPKG

@testing-library/react-native

Version:

Simple and complete React Native testing utilities that encourage good testing practices.

10 lines (9 loc) 341 B
import type { TestInstance } from 'test-renderer'; export interface AccessibilityStateMatcher { disabled?: boolean; selected?: boolean; checked?: boolean | 'mixed'; busy?: boolean; expanded?: boolean; } export declare function matchAccessibilityState(instance: TestInstance, matcher: AccessibilityStateMatcher): boolean;