Replies: 1 comment 1 reply
-
|
I've run the above code using current version of RNTL and it fails as expected My code: Test output: If you see other behaviour please provide repro repository. BTW: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had accidently set the
onPresshandler on my custom component instead of the wrappedPressableand the handler was still called when my test triedfireEvent.press(element).Shouldn't that have failed because the
onPresswas a prop on a nonPressable?The test:
Beta Was this translation helpful? Give feedback.
All reactions