import React from 'react' import { render } from '@testing-library/react-native' import { MessageText } from '..' import { DEFAULT_TEST_MESSAGE } from './data' it('should render and compare with snapshot', () => { const { toJSON } = render( ) expect(toJSON()).toMatchSnapshot() })