UNPKG

@testing-library/react-native

Version:

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

11 lines (10 loc) 436 B
import type { TestInstance } from 'test-renderer'; interface FindAllOptions { /** Match elements hidden from accessibility */ includeHiddenElements?: boolean; /** RTL-compatible alias to `includeHiddenElements` */ hidden?: boolean; matchDeepestOnly?: boolean; } export declare function findAll(root: TestInstance, predicate: (instance: TestInstance) => boolean, options?: FindAllOptions): TestInstance[]; export {};