diff --git a/test/short-urls/Paginator.test.tsx b/test/short-urls/Paginator.test.tsx index 364c8196..a40a62d8 100644 --- a/test/short-urls/Paginator.test.tsx +++ b/test/short-urls/Paginator.test.tsx @@ -21,7 +21,7 @@ describe('', () => { ])('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'); });