mirror of
https://github.com/suren-atoyan/monaco-react.git
synced 2026-01-18 15:54:45 +00:00
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
import React from 'react';
|
|
import DiffEditor from '.';
|
|
import { render } from '@testing-library/react';
|
|
import '@testing-library/jest-dom/extend-expect';
|
|
|
|
describe('<DiffEditor />', () => {
|
|
it('should check render with snapshot', () => {
|
|
const component = render(
|
|
<DiffEditor />,
|
|
);
|
|
|
|
expect(component).toMatchSnapshot();
|
|
});
|
|
});
|