mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 04:53:54 +03:00
727d753081
* stash * and those * stash * stash * stash * stash * tests * fix errors * revert * stash * fix lint * prettier
18 lines
443 B
TypeScript
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();
|
|
});
|
|
});
|