mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-12-04 15:33:53 +03:00
18 lines
443 B
JavaScript
18 lines
443 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();
|
|
});
|
|
});
|