UNPKG

@testing-library/react-native

Version:

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

10 lines (9 loc) 406 B
import type { ReactTestRendererJSON } from 'react-test-renderer'; import type { FormatElementOptions } from './format-element'; export type DebugOptions = { message?: string; } & FormatElementOptions; /** * Log pretty-printed deep test component instance */ export declare function debug(instance: ReactTestRendererJSON | ReactTestRendererJSON[], { message, ...formatOptions }?: DebugOptions): void;