@kiwicom/smart-faq
Version:
17 lines (12 loc) • 383 B
JavaScript
// @flow
import * as React from 'react';
import { shallow } from 'enzyme';
import { GuaranteeChatButton } from '../GuaranteeChat';
describe('GuaranteeChatButton', () => {
it('should show button to start chat', () => {
const wrapper = shallow(
<GuaranteeChatButton isChatReady onClickDisplayChat={jest.fn()} />,
);
expect(wrapper).toMatchSnapshot();
});
});