UNPKG

@testing-library/react-native

Version:

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

7 lines (6 loc) 316 B
import type { TestInstance } from 'test-renderer'; import type { TextMatch, TextMatchOptions } from '../matches'; export declare function toHaveAccessibleName(this: jest.MatcherContext, instance: TestInstance, expectedName?: TextMatch, options?: TextMatchOptions): { pass: boolean; message: () => string; };