From d2a5379e19aa4e4f482d6d3e9607171037e92fd1 Mon Sep 17 00:00:00 2001 From: Leo Largillet Date: Fri, 2 Feb 2024 15:00:41 +0100 Subject: [PATCH] fix(pagination): fix TS linters --- .../src/components/osds-pagination/osds-pagination.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/pagination/src/components/osds-pagination/osds-pagination.e2e.ts b/packages/components/src/pagination/src/components/osds-pagination/osds-pagination.e2e.ts index fa20a29155..c992692204 100644 --- a/packages/components/src/pagination/src/components/osds-pagination/osds-pagination.e2e.ts +++ b/packages/components/src/pagination/src/components/osds-pagination/osds-pagination.e2e.ts @@ -293,7 +293,7 @@ describe('e2e:osds-pagination', () => { }); it('should adapt to default step of 25 if defaultItemsPerPage', async() => { - await setup({ attributes: { current: 1, totalItems: 20, defaultItemsPerPage: 25 } }); + await setup({ attributes: { current: 1, defaultItemsPerPage: 25 , totalItems: 20 } }); pageItemElements = await page.findAll('osds-pagination >>> ul > li:not([class="arrows"])'); expect(pageItemElements.length).toBe(1);