Skip to content

Commit 9b23a3f

Browse files
committed
chore: fix test for TablePagination
1 parent 179ef35 commit 9b23a3f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/lib/src/components/TablePagination/TablePagination.test.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,9 @@ describe('TablePagination.tsx', () => {
164164
</MantineProvider>,
165165
)
166166

167-
const pageSelect = screen.queryByLabelText(
168-
'table.footer.pageSize',
169-
) as HTMLInputElement | null
167+
const pageSelect = screen.queryByLabelText('table.footer.pageSize')
170168

171-
expect(pageSelect).toBeDefined()
169+
expect(pageSelect).toBeNull()
172170

173171
const paginationButton = screen.getByRole('button', { name: '1' })
174172

0 commit comments

Comments
 (0)