/**
* @jest-environment jsdom
*/
import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import { Store, services } from '../../mocks';
import { Review } from '@components/manifest';
it('renders without throwing', () => {
const tree = renderer
.create(
{}}
onEnvironmentToggle={() => {}}
onCancel={() => {}}
dirty
loading
environmentToggles={{ name: test }}
state={{ services }}
/>
)
.toJSON();
expect(tree).toMatchSnapshot();
});
it('renders without throwing', () => {
const tree = renderer
.create(
{}}
onEnvironmentToggle={() => {}}
onCancel={() => {}}
dirty
environmentToggles={{ name: test }}
state={{ services }}
/>
)
.toJSON();
expect(tree).toMatchSnapshot();
});
it('renders without throwing', () => {
const tree = renderer
.create(
{}}
onEnvironmentToggle={() => {}}
onCancel={() => {}}
environmentToggles={{ name: test }}
state={{ services }}
/>
)
.toJSON();
expect(tree).toMatchSnapshot();
});