import React from 'react';

import FeaturedPartners from './index';

const data = {
  title: 'FeaturedPartners',
  partners: [
    {
      name: 'Partner',
      ImageProps: {
        src:
          'data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=',
      },
    },
  ],
};

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

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

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