From 2badd2b7433254ad1ea1e5585ff3b98c5ff1a826 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 31 Dec 2022 10:47:15 +0100 Subject: [PATCH] Fixed warning in tests --- test/short-urls/Paginator.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); });