Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
feat(breadcrumb): improve Breadcrumbs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oliv37 committed Feb 20, 2020
1 parent beffc1f commit 03174ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/__tests__/breadcrumbs/Breadcrumbs.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ describe('Breadcrumbs', () => {
return wrapper
}

it('should not render the breadcrumb when there is no items in the store', () => {
it('should not render the breadcrumb when there are no items in the store', () => {
const wrapper = setup([])

expect(wrapper.find(HRBreadcrumb)).toHaveLength(0)
expect(wrapper.find(HRBreadcrumbItem)).toHaveLength(0)
})

it('should render breadcrumbs items', () => {
Expand Down

0 comments on commit 03174ad

Please sign in to comment.