import React from 'react';

import TextWithImage from './index';

const data = {
  title: 'title',
  text: 'text',
};

describe('TextWithImage', () => {
  const defaultElement = <TextWithImage {...data} />;
  let wrapper;

  beforeEach(() => {
    wrapper = shallow(defaultElement);
  });

  it('should render correctly', () => {
    expect(wrapper).toMatchSnapshot();
  });
});
