/**
* @jest-environment jsdom
*/
import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import { Store } from '../../mocks';
import { reduxForm } from 'redux-form';
import { Name } from '@components/manifest';
const TestNameForm = reduxForm({ form: 'testNameForm' })(Name);
it('renders without throwing', () => {
const tree = renderer
.create(
{}} onCancel={() => {}} dirty />
)
.toJSON();
expect(tree).toMatchSnapshot();
});
it('renders without throwing', () => {
const tree = renderer
.create(
{}} onCancel={() => {}} />
)
.toJSON();
expect(tree).toMatchSnapshot();
});