@testing-library/react-native
Version:
Simple and complete React Native testing utilities that encourage good testing practices.
7 lines (6 loc) • 312 B
TypeScript
import type { TestInstance } from 'test-renderer';
import type { TextMatch, TextMatchOptions } from '../matches';
export declare function toHaveTextContent(this: jest.MatcherContext, instance: TestInstance, expectedText: TextMatch, options?: TextMatchOptions): {
pass: boolean;
message: () => string;
};