import React from 'react' import { render } from '@testing-library/react' import Alert from './Alert' it('should render title and content', () => { const content = 'Please fix your errors' const { getByText } = render({content}) getByText(content) })