import Icon from './'

describe('<Icon />', () => {
  const props = {
    name: 'coffee'
  }

  let wrapper
  beforeEach(() => {
    wrapper = shallow(<Icon {...props} />)
  })

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