Skip to content

Commit

Permalink
test(Pagination): update page range text assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Aug 14, 2020
1 parent fed0ed1 commit 4429525
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ describe('Pagination', () => {
const pager = mount(<Pagination pageSizes={[5, 10]} totalItems={0} />);
const labels = pager.find(`.${prefix}--pagination__text`);
expect(labels.at(1).text()).toBe('0–0 of 0 items');
expect(labels.at(2).text()).toBe('of 1 pages');
expect(labels.at(2).text()).toBe('of 1 page');
});

it('should have two buttons for navigation', () => {
Expand Down

0 comments on commit 4429525

Please sign in to comment.