Removing mockT from Footer tests
This commit is contained in:
parent
8d78f41ed6
commit
1621e0e16a
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user