Fixed warning in tests

This commit is contained in:
Alejandro Celaya 2022-12-31 10:47:15 +01:00
parent 4517f38680
commit 2badd2b743

View file

@ -21,7 +21,7 @@ describe('<Paginator />', () => {
])('renders an empty gap if the number of pages is below 2', (paginator) => {
const { container } = setUp(paginator);
expect(container.firstChild).toBeEmpty();
expect(container.firstChild).toBeEmptyDOMElement();
expect(container.firstChild).toHaveClass('pb-3');
});