Skip to content

Commit

Permalink
Fix test & gif
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Feb 7, 2022
1 parent f8d9ec2 commit fcb5618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified src-docs/src/images/pagination_filters.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/datagrid/utils/data_grid_pagination.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ describe('EuiDataGridPaginationRenderer', () => {
activePage={0}
aria-controls="data-grid-id"
aria-label="Pagination for preceding grid"
hidePerPageOptions={false}
itemsPerPage={25}
itemsPerPageOptions={
Array [
Expand All @@ -46,6 +45,7 @@ describe('EuiDataGridPaginationRenderer', () => {
onChangeItemsPerPage={[MockFunction]}
onChangePage={[Function]}
pageCount={4}
showPerPageOptions={true}
/>
</div>
`);
Expand All @@ -63,7 +63,6 @@ describe('EuiDataGridPaginationRenderer', () => {
activePage={0}
aria-controls="data-grid-id"
aria-label="Pagination for preceding grid: Test Grid"
hidePerPageOptions={false}
itemsPerPage={25}
itemsPerPageOptions={
Array [
Expand All @@ -73,6 +72,7 @@ describe('EuiDataGridPaginationRenderer', () => {
onChangeItemsPerPage={[MockFunction]}
onChangePage={[Function]}
pageCount={4}
showPerPageOptions={true}
/>
</div>
`);
Expand All @@ -90,12 +90,12 @@ describe('EuiDataGridPaginationRenderer', () => {
activePage={0}
aria-controls="data-grid-id"
aria-label="Pagination for preceding grid"
hidePerPageOptions={true}
itemsPerPage={25}
itemsPerPageOptions={Array []}
onChangeItemsPerPage={[MockFunction]}
onChangePage={[Function]}
pageCount={4}
showPerPageOptions={false}
/>
</div>
`);
Expand Down

0 comments on commit fcb5618

Please sign in to comment.