Removing mockT from Footer tests

This commit is contained in:
Jeff Avallone 2019-03-28 06:27:02 -04:00
parent 8d78f41ed6
commit 1621e0e16a

View File

@ -1,13 +1,12 @@
import React from 'react';
import { render } from 'react-testing-library';
import { mockT } from 'i18n';
import Footer from 'components/Footer';
describe('Footer', () => {
test('rendering', () => {
const { asFragment } = render(
<Footer buildId="abc-123" t={ mockT } />
<Footer buildId="abc-123" />
);
expect(asFragment()).toMatchSnapshot();
});