Skip to content

Commit 48b5e5d

Browse files
committed
fix lint
1 parent a3878e4 commit 48b5e5d

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/helpers/__tests__/accessibility.test.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,7 @@ describe('computeAriaExpanded', () => {
659659
});
660660

661661
test('supports accessibilityState.expanded', async () => {
662-
await render(
663-
<View testID="subject" accessibilityState={{ expanded: true }} />,
664-
);
662+
await render(<View testID="subject" accessibilityState={{ expanded: true }} />);
665663
expect(computeAriaExpanded(screen.getByTestId('subject'))).toBe(true);
666664
});
667665
});
@@ -678,9 +676,7 @@ describe('computeAriaSelected', () => {
678676
});
679677

680678
test('supports accessibilityState.selected', async () => {
681-
await render(
682-
<View testID="subject" accessibilityState={{ selected: true }} />,
683-
);
679+
await render(<View testID="subject" accessibilityState={{ selected: true }} />);
684680
expect(computeAriaSelected(screen.getByTestId('subject'))).toBe(true);
685681
});
686682
});
@@ -716,10 +712,7 @@ describe('computeAriaValue', () => {
716712

717713
test('supports accessibilityValue prop', async () => {
718714
await render(
719-
<View
720-
testID="subject"
721-
accessibilityValue={{ min: 0, max: 100, now: 25, text: '25%' }}
722-
/>,
715+
<View testID="subject" accessibilityValue={{ min: 0, max: 100, now: 25, text: '25%' }} />,
723716
);
724717
expect(computeAriaValue(screen.getByTestId('subject'))).toEqual({
725718
min: 0,
@@ -854,4 +847,4 @@ describe('computeAccessibleName', () => {
854847
expect(computeAccessibleName(screen.getByTestId('parent'))).toBe('Hello');
855848
expect(computeAccessibleName(screen.getByTestId('parent-no-text'))).toBe('');
856849
});
857-
});
850+
});

0 commit comments

Comments
 (0)