dappros/ethora

View on GitHub
client-reactnative/__tests__/Chat/MessageBody-test.tsx

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import renderer from 'react-test-renderer';

import MessageBody from '../../src/components/Chat/MessageBody';

test("renders correctly", ()=>{
 
   const tree = renderer.create(<MessageBody/>).toJSON();
   expect(tree).toMatchSnapshot();
 
})