Closed Glazzes closed 1 month ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Hi @Glazzes! Could you please check if #3119 solves this problem?
@m-bert Excuse me if it's an ignorant question, but how do I test these changes? I copied your changes pretty much to the T in my project but I do keep getting the same results.
I just tested by installing the main branch and it does indeed work, thank you for work!
Description
Hello, I've been trying to write some tests for my library, however I've noticed
fireGestureHandler
is capable of triggering events in gestures whose enabled method has been set tofalse
, is this the expected behavior?Steps to reproduce
Run the following code as a Jest test, expected behavior is the second gesture is not triggered and therefore the mock is not called, however the mock it's called regardless of whether the gesture is enabled or not.
Snack or a link to a repository
code provided above
Gesture Handler version
2.19.0
React Native version
0.74.1
Platforms
Android, iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes