import {
  Overlay,
  Wrapper,
  Title,
  Description,
} from '@styles/components/checking-modal';
import React from 'react';
import renderer from 'react-test-renderer';

test('renders correctly Overlay', () => {
  const tree = renderer.create(<Overlay />).toJSON();
  expect(tree).toMatchSnapshot();
});

test('renders correctly Wrapper', () => {
  const tree = renderer.create(<Wrapper />).toJSON();
  expect(tree).toMatchSnapshot();
});
test('renders correctly Title', () => {
  const tree = renderer.create(<Title />).toJSON();
  expect(tree).toMatchSnapshot();
});
test('renders correctly Description', () => {
  const tree = renderer.create(<Description />).toJSON();
  expect(tree).toMatchSnapshot();
});
