UNPKG

@testing-library/react-native

Version:

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

13 lines (12 loc) 431 B
import type { TestInstance } from 'test-renderer'; import type { Point } from './types'; /** * Simulated native state for unmanaged controls. * * Values from `value` props (managed controls) should take precedence over these values. */ export type NativeState = { valueForInstance: WeakMap<TestInstance, string>; contentOffsetForInstance: WeakMap<TestInstance, Point>; }; export declare const nativeState: NativeState;