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