We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec9c19 commit 09d8925Copy full SHA for 09d8925
src/helpers/matchers/matchLabelText.ts
@@ -44,7 +44,7 @@ function matchAccessibilityLabelledBy(
44
root,
45
(node) =>
46
typeof node.type === 'string' &&
47
- node.props?.nativeID === nativeId &&
+ node.props.nativeID === nativeId &&
48
matchTextContent(node, text, options)
49
).length > 0
50
);
src/queries/text.ts
@@ -61,7 +61,6 @@ const queryAllByText = (
61
matchDeepestOnly: true,
62
}
63
64
-
65
};
66
67
const getMultipleError = (text: TextMatch) =>
0 commit comments