Skip to content

Commit

Permalink
silly class tests πŸ™ˆ
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed Apr 22, 2024
1 parent 14fa7de commit 637979c
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,7 @@ describe('ToggleGroup', () => {
const item = screen.getByRole<HTMLButtonElement>('radio');
expect(item.name).toEqual('my name');
});
test('has passed size to ToggleGroupItem children', (): void => {
render(
<ToggleGroup size='medium'>
<ToggleGroup.Item value='test'>test</ToggleGroup.Item>
</ToggleGroup>,
);

const item = screen.getByRole<HTMLButtonElement>('radio');
expect(item).toHaveClass('medium');
});
test('can navigate with tab and arrow keys', async () => {
render(
<ToggleGroup>
Expand Down

0 comments on commit 637979c

Please sign in to comment.