Skip to content

Commit ccbe912

Browse files
committed
chore: fix ts error due to missing RN typing
1 parent 21acc57 commit ccbe912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/queries/__tests__/labelText.test.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ test('getByLabelText supports accessibilityLabelledBy', async () => {
170170
const { getByLabelText, getByTestId } = render(
171171
<>
172172
<Text nativeID="label">Label for input</Text>
173+
{/* @ts-expect-error: waiting for RN 0.71.2 to fix incorrectly omitted `accessibilityLabelledBy` typedef. */}
173174
<TextInput testID="textInput" accessibilityLabelledBy="label" />
174175
</>
175176
);
@@ -184,6 +185,7 @@ test('getByLabelText supports nested accessibilityLabelledBy', async () => {
184185
<View nativeID="label">
185186
<Text>Label for input</Text>
186187
</View>
188+
{/* @ts-expect-error: waiting for RN 0.71.2 to fix incorrectly omitted `accessibilityLabelledBy` typedef. */}
187189
<TextInput testID="textInput" accessibilityLabelledBy="label" />
188190
</>
189191
);

0 commit comments

Comments
 (0)