From 4429525c3a4bdbeb7173695d54706ed798926469 Mon Sep 17 00:00:00 2001 From: emyarod Date: Fri, 14 Aug 2020 13:57:48 -0500 Subject: [PATCH] test(Pagination): update page range text assertion --- packages/react/src/components/Pagination/Pagination-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/components/Pagination/Pagination-test.js b/packages/react/src/components/Pagination/Pagination-test.js index 6748c7279594..673bb4b4ab40 100644 --- a/packages/react/src/components/Pagination/Pagination-test.js +++ b/packages/react/src/components/Pagination/Pagination-test.js @@ -224,7 +224,7 @@ describe('Pagination', () => { const pager = mount(); 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', () => {