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