Skip to content

Commit 837603c

Browse files
committed
.
1 parent 05bf731 commit 837603c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/__tests__/fire-event.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ describe('fireEvent.press', () => {
7474
])('works on %s', async (_, Component) => {
7575
const onPress = jest.fn();
7676
await render(
77-
// @ts-expect-error - Component is a valid React component
77+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
78+
// @ts-ignore - Component is a valid React component - but some RN versions have incorrect type definitions
7879
<Component testID="subject" onPress={onPress}>
7980
<Text>Press me</Text>
8081
</Component>,

0 commit comments

Comments
 (0)