import * as React from 'react'
import { shallow } from 'enzyme'
import BreadcrumbsLarge from '../large'

describe('packages/ui', () => {
  describe('BreadcrumbLarge', () => {
    it('renders correctly with a selected value', () => {
      const crumbs = [{ label: 'foo' }, { label: 'bar' }]
      const element = <BreadcrumbsLarge crumbs={crumbs} />
      const wrapper = shallow(element)
      expect(wrapper).toMatchSnapshot()
    })
  })
})
