import React from 'react';

import TextImage from './index';

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

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

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

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