UNPKG

react-native-gifted-chat-video-support

Version:

The most complete chat UI for React Native , now support send video thanks to react-native-video-player

12 lines (8 loc) 287 B
import 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import { Send } from '../GiftedChat'; it('should render <Send /> and compare with snapshot', () => { const tree = renderer.create(<Send />).toJSON(); expect(tree).toMatchSnapshot(); });