@kiwicom/smart-faq
Version:
18 lines (13 loc) • 391 B
JavaScript
// @flow
import * as React from 'react';
import { shallow } from 'enzyme';
import ScreenVoting from '../ScreenVoting';
const ch = (sc: string) => {}; //eslint-disable-line
describe('ScreenVoting', () => {
const component = shallow(
<ScreenVoting articleId="mZperX" changeScreen={ch} />,
);
it('should match snapshot', () => {
expect(component).toMatchSnapshot();
});
});