diff --git a/src/components/Footer/__snapshots__/test.js.snap b/src/components/Footer/__snapshots__/test.js.snap index 2ede97f..26bebd6 100644 --- a/src/components/Footer/__snapshots__/test.js.snap +++ b/src/components/Footer/__snapshots__/test.js.snap @@ -1,42 +1,50 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Footer rendering 1`] = ` - + Generated images licensed: + + TRANSLATE(Creative Commons CC-BY-3.0 License) + + + + +
+ abc-123 +
+ + `; diff --git a/src/components/Footer/test.js b/src/components/Footer/test.js index e681fc2..2e7bf3a 100644 --- a/src/components/Footer/test.js +++ b/src/components/Footer/test.js @@ -1,14 +1,14 @@ import React from 'react'; -import { shallow } from 'enzyme'; +import { render } from 'react-testing-library'; import { mockT } from 'i18n'; import { Footer } from 'components/Footer'; describe('Footer', () => { test('rendering', () => { - const component = shallow( + const { asFragment } = render(