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
13 lines (9 loc) • 344 B
JavaScript
import 'react-native';
import React from 'react';
import createComponentWithContext from '../../tests/context';
import { Day } from '../GiftedChat';
it('should render <Day /> and compare with snapshot', () => {
const component = createComponentWithContext(<Day />);
const tree = component.toJSON();
expect(tree).toMatchSnapshot();
});