import React from 'react'; import { fireEvent, getByLabelText, render } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { axe } from 'jest-axe'; import { getTestUtils } from '../testing'; import { TextArea, TextAreaProps } from '.'; const onChange = jest.fn(); const labelProp = 'Test Area Label'; const defaultProps = { className: 'test-text-area-class', description: 'This is the description', }; function renderTextArea(props = {}) { const renderUtils = render(