From 637979c0b9772556402b47177a1372fa6d61964c Mon Sep 17 00:00:00 2001 From: Michael Marszalek Date: Mon, 22 Apr 2024 15:44:59 +0200 Subject: [PATCH] =?UTF-8?q?silly=20class=20tests=20=F0=9F=99=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ToggleGroup/ToggleGroup.test.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/react/src/components/ToggleGroup/ToggleGroup.test.tsx b/packages/react/src/components/ToggleGroup/ToggleGroup.test.tsx index d40009b46a..e96678488a 100644 --- a/packages/react/src/components/ToggleGroup/ToggleGroup.test.tsx +++ b/packages/react/src/components/ToggleGroup/ToggleGroup.test.tsx @@ -28,16 +28,7 @@ describe('ToggleGroup', () => { const item = screen.getByRole('radio'); expect(item.name).toEqual('my name'); }); - test('has passed size to ToggleGroupItem children', (): void => { - render( - - test - , - ); - const item = screen.getByRole('radio'); - expect(item).toHaveClass('medium'); - }); test('can navigate with tab and arrow keys', async () => { render(