/**
* @jest-environment jsdom
*/
import React from 'react';
import ShallowRenderer from 'react-test-renderer/shallow';
import 'jest-styled-components';
import { Store } from '../../mocks';
import { reduxForm } from 'redux-form';
import { Manifest } from '@components/manifest';
const ManifestTestForm = reduxForm({ form: 'ManifestTestForm' })(Manifest);
it('renders without throwing', () => {
const renderer = new ShallowRenderer();
renderer.render(
{}}
onCancel={() => {}}
dirty
loading
/>
);
const tree = renderer.getRenderOutput();
expect(tree).toMatchSnapshot();
});
it('renders without throwing', () => {
const renderer = new ShallowRenderer();
renderer.render(
{}}
onCancel={() => {}}
loading
/>
);
const tree = renderer.getRenderOutput();
expect(tree).toMatchSnapshot();
});
it('renders without throwing', () => {
const renderer = new ShallowRenderer();
renderer.render(
{}}
onCancel={() => {}}
/>
);
const tree = renderer.getRenderOutput();
expect(tree).toMatchSnapshot();
});