UNPKG

@ecreeth/rn-ui

Version:

Highly customizable and theming components for React Native

10 lines (7 loc) 255 B
import React from 'react'; import renderer from 'react-test-renderer'; import TextInput from '../../src/components/TextInput'; it('renders correctly', () => { const tree = renderer.create(<TextInput />).toJSON(); expect(tree).toMatchSnapshot(); });