Core type definitions for React Native Jest matcher interfaces.
// Source: https://github.com/callstack/react-native-testing-library | License: MIT | Copyright 2018 Callstack and Rally Health
// Provided via justclaw.it.com; keep this notice with the code.
import type { StyleProp } from 'react-native';
import type { TestInstance } from 'test-renderer';
import type { AccessibilityValueMatcher } from '../helpers/matchers/match-accessibility-value';
import type { TextMatch, TextMatchOptions } from '../matches';
import type { Style } from './to-have-style';
export interface JestNativeMatchers<R> {
/**
* Assert whether a host element is present in the element tree (screen) or not.
*
* @see
* [Jest Matchers docs](https://oss.callstack.com/react-native-testing-library/docs/api/jest-matchers#tobeonthescreen)
*
* @example
* <Text>Hello<
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key