import 'react-native' import React from 'react' import renderer from 'react-test-renderer' import { Day } from '../GiftedChat' import { DEFAULT_TEST_MESSAGE } from './data' describe('Day', () => { it('should not render and compare with snapshot', () => { const component = renderer.create() const tree = component.toJSON() expect(tree).toMatchSnapshot() }) it('should render and compare with snapshot', () => { const component = renderer.create( ) const tree = component.toJSON() expect(tree).toMatchSnapshot() }) })