Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Jun 2, 2024
1 parent 2aa6306 commit b7e28c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/x-data-grid/src/tests/pagination.DataGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -751,4 +751,10 @@ describe('<DataGrid /> - Pagination', () => {
].join('\n'),
);
});

it('should not log an error if paginationMode is set to undefined', () => {
expect(() => {
render(<BaselineTestCase paginationMode={undefined} />);
}).not.toErrorDev();
});
});

0 comments on commit b7e28c2

Please sign in to comment.