@testing-library/react-native
Version:
Simple and complete React Native testing utilities that encourage good testing practices.
10 lines (9 loc) • 353 B
TypeScript
import type { ReactTestInstance } from 'react-test-renderer';
export interface AccessibilityStateMatcher {
disabled?: boolean;
selected?: boolean;
checked?: boolean | 'mixed';
busy?: boolean;
expanded?: boolean;
}
export declare function matchAccessibilityState(node: ReactTestInstance, matcher: AccessibilityStateMatcher): boolean;