import React from 'react'
import { render } from '@testing-library/react'
import { TextAreaField } from './TextAreaField'
const defaultProps = {
id: 'text-area-field-test',
labelText: 'Label',
}
describe('', () => {
it('renders empty aria-describedby when no description or validation message provided', () => {
const { getByRole } = render(
,
)
const ariaDescribedBy = getByRole('textbox', {
description: '',
})
expect(ariaDescribedBy).toBeInTheDocument()
})
})