mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-08-04 04:10:16 +03:00
12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
import React from 'react';
|
|
import { render } from '@testing-library/react';
|
|
import { Editor } from '../src';
|
|
|
|
describe('Editor', function () {
|
|
const { container } = render(<Editor value="var a = 1;" />);
|
|
|
|
it('renders correctly', () => {
|
|
expect(container.firstChild).toMatchSnapshot();
|
|
});
|
|
});
|