diff --git a/packages/react/src/SegmentedControl/SegmentedControl.test.tsx b/packages/react/src/SegmentedControl/SegmentedControl.test.tsx
index 279e74741e4..822c3ed6566 100644
--- a/packages/react/src/SegmentedControl/SegmentedControl.test.tsx
+++ b/packages/react/src/SegmentedControl/SegmentedControl.test.tsx
@@ -11,9 +11,27 @@ import {act} from 'react-test-renderer'
import {viewportRanges} from '../hooks/useResponsiveValue'
const segmentData = [
- {label: 'Preview', description: 'This preview does blah.', id: 'preview', iconLabel: 'EyeIcon', icon: () => },
- {label: 'Raw', description: 'This shows the raw content.', id: 'raw', iconLabel: 'FileCodeIcon', icon: () => },
- {label: 'Blame', description: 'This shows the blame.', id: 'blame', iconLabel: 'PeopleIcon', icon: () => },
+ {
+ label: 'Preview',
+ description: 'This preview does blah.',
+ id: 'preview',
+ iconLabel: 'EyeIcon',
+ icon: () => ,
+ },
+ {
+ label: 'Raw',
+ description: 'This shows the raw content.',
+ id: 'raw',
+ iconLabel: 'FileCodeIcon',
+ icon: () => ,
+ },
+ {
+ label: 'Blame',
+ description: 'This shows the blame.',
+ id: 'blame',
+ iconLabel: 'PeopleIcon',
+ icon: () => ,
+ },
]
let matchMedia: MatchMediaMock
@@ -165,7 +183,7 @@ describe('SegmentedControl', () => {
})
it('renders icon button with tooltip as label', () => {
- const {getByRole, getByText, getAllByRole} = render(
+ const {getByRole, getByText} = render(
{segmentData.map(({label, icon}) => (