As mentioned in this discussion, while testing Gesture Handler with jest you can see the following warning:
None of the callbacks in the gesture are worklets. If you wish to run them on the JS thread use '.runOnJS(true)' modifier on the gesture to make this explicit. Otherwise, mark the callbacks as 'worklet' to run them on the UI thread.
Since worklets do not work in jest, I believe it is safe to simply suppress this error.
Description
As mentioned in this discussion, while testing Gesture Handler with
jest
you can see the following warning:Since
worklets
do not work injest
, I believe it is safe to simply suppress this error.Test plan
Run tests in our repository