import 'react-native' import React from 'react' import renderer from 'react-test-renderer' import { Send } from '../GiftedChat' describe('Send', () => { it('should not render and compare with snapshot', () => { const tree = renderer.create().toJSON() expect(tree).toMatchSnapshot() }) it('should always render and compare with snapshot', () => { const tree = renderer.create().toJSON() expect(tree).toMatchSnapshot() }) it('should render where there is input and compare with snapshot', () => { const tree = renderer.create().toJSON() expect(tree).toMatchSnapshot() }) })