import { press, render, screen, testA11y } from '@fuels/jest';
import { RadioGroup } from './RadioGroup';
const Content = () => (
);
describe('RadioGroup', () => {
it('a11y', async () => {
await testA11y();
});
it('should focus correctly', async () => {
render();
await press('Tab');
expect(screen.getByLabelText('Default')).toHaveFocus();
await press('ArrowDown');
expect(screen.getByLabelText('Comfortable')).toHaveFocus();
await press('ArrowDown');
expect(screen.getByLabelText('Compact')).toHaveFocus();
});
});