diff --git a/src/rendering/SVG/__snapshots__/test.js.snap b/src/rendering/SVG/__snapshots__/test.js.snap index 7c75ea9..e66d344 100644 --- a/src/rendering/SVG/__snapshots__/test.js.snap +++ b/src/rendering/SVG/__snapshots__/test.js.snap @@ -24,38 +24,60 @@ Object { `; exports[`SVG rendering 1`] = ` - - - - - - - - - -", - } - } - /> - + - Content - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Content + + + `; diff --git a/src/rendering/SVG/test.js b/src/rendering/SVG/test.js index a62c2e2..7378596 100644 --- a/src/rendering/SVG/test.js +++ b/src/rendering/SVG/test.js @@ -1,14 +1,14 @@ import React from 'react'; -import { shallow } from 'enzyme'; +import { render } from 'react-testing-library'; import SVG, { layout } from 'rendering/SVG'; describe('SVG', () => { test('rendering', () => { - const component = shallow( + const { asFragment } = render( Content ); - expect(component).toMatchSnapshot(); + expect(asFragment()).toMatchSnapshot(); }); test('layout', () => {