mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-13 02:53:47 +00:00
Fixed warning in tests
This commit is contained in:
@@ -21,7 +21,7 @@ describe('<Paginator />', () => {
|
|||||||
])('renders an empty gap if the number of pages is below 2', (paginator) => {
|
])('renders an empty gap if the number of pages is below 2', (paginator) => {
|
||||||
const { container } = setUp(paginator);
|
const { container } = setUp(paginator);
|
||||||
|
|
||||||
expect(container.firstChild).toBeEmpty();
|
expect(container.firstChild).toBeEmptyDOMElement();
|
||||||
expect(container.firstChild).toHaveClass('pb-3');
|
expect(container.firstChild).toHaveClass('pb-3');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user