UNPKG

@testing-library/react-native

Version:

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

7 lines (6 loc) 273 B
import * as React from 'react'; import type { ReactTestInstance } from 'react-test-renderer'; /** * Log pretty-printed shallow test component instance */ export default function debugShallow(instance: ReactTestInstance | React.ReactElement<any>, message?: string): void;