We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d15a8f commit 0d089c2Copy full SHA for 0d089c2
src/fireEvent.ts
@@ -23,7 +23,9 @@ function isTouchResponder(element: ReactTestInstance) {
23
return false;
24
}
25
26
- return !!element.props.onStartShouldSetResponder || isTextInput(element);
+ return (
27
+ Boolean(element.props.onStartShouldSetResponder) || isTextInput(element)
28
+ );
29
30
31
function isPointerEventEnabled(
0 commit comments