redux-devtools/packages/redux-devtools-ui/tests/Container.test.tsx
2021-09-18 14:00:58 +00:00

18 lines
443 B
TypeScript

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', light: false }}
>
Text
</Container>
);
expect(renderToJson(wrapper)).toMatchSnapshot();
});
});