redux-devtools/packages/devui/tests/Container.test.js
Nathan Bierema 10bf7bc084
chore(*): upgrade prettier (#570)
* chore(*): upgrade prettier

* chore(*): upgrade prettier
2020-08-08 16:26:39 -04:00

18 lines
444 B
JavaScript

import React from 'react';
import { render } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import { Container } from '../src';
describe('Container', function () {
it('renders correctly', () => {
const wrapper = render(
<Container
themeData={{ theme: 'default', scheme: 'default', invert: false }}
>
Text
</Container>
);
expect(renderToJson(wrapper)).toMatchSnapshot();
});
});