manifesto.test.js 336 B

1234567891011
  1. import { shallow } from 'enzyme';
  2. import toJson from 'enzyme-to-json';
  3. import React from 'react';
  4. import { ManifestoPage } from '../../src/pages/manifesto';
  5. describe('ManifestoPage page', () => {
  6. it('renders correctly', () => {
  7. const wrapper = shallow(<ManifestoPage />);
  8. expect(toJson(wrapper)).toMatchSnapshot();
  9. });
  10. });