UNPKG

react-chat-elements

Version:
13 lines (12 loc) 480 B
import { jsx as _jsx } from "react/jsx-runtime"; import React, { Component } from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import MeetingMessage from '../MeetingMessage'; describe('MeetingMessage component', function () { it('should render without issues', function () { var component = shallow(_jsx(MeetingMessage, {})); expect(component.length).toBe(1); expect(toJson(component)).toMatchSnapshot(); }); });