diff --git a/packages/react/components/modal/test/Modal.test.tsx b/packages/react/components/modal/test/Modal.test.tsx index b678fe43..9e945ebe 100644 --- a/packages/react/components/modal/test/Modal.test.tsx +++ b/packages/react/components/modal/test/Modal.test.tsx @@ -10,23 +10,9 @@ import { ModalBody } from '../index' describe('Modal component', () => { test('should Modal have correct initial className', () => { - const { getByTestId } = render(Hello) + const { getByTestId } = render(Hello) const modal = getByTestId('modal-id') expect(modal).toHaveClass('modal') expect(modal?.childNodes[0]).toHaveClass('modal-content') }) - - test('should Modal have content', () => { - const { getByText } = render( - - {'CONTENT'} - , - ) - expect(getByText('CONTENT')).toBeTruthy() - }) - - test('should Modal have child', () => { - const { getByText } = render(CHILD) - expect(getByText('CHILD')).toBeTruthy() - }) })