2019-01-04 23:38:49 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { shallow } from 'enzyme';
|
|
|
|
|
2019-01-06 18:03:07 +00:00
|
|
|
import { mockT } from 'i18n';
|
|
|
|
import { PrivacyPageImpl } from 'pages/privacy';
|
2019-01-04 23:38:49 +00:00
|
|
|
|
|
|
|
describe('Privacy Page', () => {
|
|
|
|
test('rendering', () => {
|
|
|
|
const component = shallow(
|
2019-01-06 18:03:07 +00:00
|
|
|
<PrivacyPageImpl t={ mockT } />
|
2019-01-04 23:38:49 +00:00
|
|
|
);
|
|
|
|
expect(component).toMatchSnapshot();
|
|
|
|
});
|
|
|
|
});
|