import * as React from 'react'; import { render } from '@testing-library/react'; import { ModalBoxDescription } from '../ModalBoxDescription'; test('ModalBoxDescription Test', () => { const { asFragment } = render(This is a ModalBox Description); expect(asFragment()).toMatchSnapshot(); });