Fixed TS compilation in tests

This commit is contained in:
Alejandro Celaya
2020-12-08 19:31:09 +01:00
parent 60282281a3
commit 3e6aee47e5
4 changed files with 6 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ describe('<Paginator />', () => {
const paginator = {
currentPage: 1,
pagesCount: 5,
totalItems: 10,
};
const extraPagesPrevNext = 2;
const expectedItems = paginator.pagesCount + extraPagesPrevNext;