Skip to content

Commit

Permalink
Resolve jest-dom deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchdesign committed Nov 5, 2020
1 parent de3b7af commit 52843f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/Chart.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Chart', () => {
data: undefined,
});
const svg = container.querySelector('svg');
expect(svg).toBeEmpty();
expect(svg).toBeEmptyDOMElement();
});

it('render a <Title> element if data[].title provided', () => {
Expand Down

0 comments on commit 52843f5

Please sign in to comment.