regexper-static/src/pages/privacy.test.js

15 lines
322 B
JavaScript
Raw Normal View History

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 { PrivacyPage } from 'pages/privacy';
2019-01-04 23:38:49 +00:00
describe('Privacy Page', () => {
test('rendering', () => {
const component = shallow(
<PrivacyPage t={ mockT } />
2019-01-04 23:38:49 +00:00
);
expect(component).toMatchSnapshot();
});
});