import React from 'react';
import renderer from 'react-test-renderer';
import StoreIcons from './index';

describe('StoreIcons', () => {
  test('it renders correctly', () => {
    const component = renderer.create(
      <StoreIcons icons={[{ type: 'amazon', name: 'Amazon', state: 'active' }]} />,
    );
    const tree = component.toJSON();
    expect(tree).toMatchSnapshot();
  });
});
