@vertisanpro/flowbite-react
Version:
Non-Official React components built for Flowbite and Tailwind CSS
13 lines (12 loc) • 484 B
JavaScript
import { render } from '@testing-library/react';
import React from 'react';
import { describe, expect, it } from 'vitest';
import { Textarea } from './Textarea';
describe.concurrent('Components / Textarea', () => {
describe.concurrent('A11y', () => {
it('should have role="textbox" by default', () => {
const textArea = render(React.createElement(Textarea, null)).getByRole('textbox');
expect(textArea).toBeInTheDocument();
});
});
});