Migrated TableOrderIcon test to react testing library

This commit is contained in:
Alejandro Celaya
2022-06-11 17:28:47 +02:00
parent f9909713d9
commit ec7c7d521f
4 changed files with 53 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ describe('<SimplePaginator />', () => {
it.each([-3, -2, 0, 1])('renders empty when the amount of pages is smaller than 2', (pagesCount) => {
const { container } = setUp(pagesCount);
expect(container.firstChild).toEqual(null);
expect(container.firstChild).toBeNull();
});
describe('ELLIPSIS are rendered where expected', () => {