-
Taking from the example in testbed, it finds a clicked body with the method Is there some way to make a findBody method that works synchronously and returns the found body instead? |
Beta Was this translation helpful? Give feedback.
Answered by
zOadT
Mar 30, 2021
Replies: 1 comment 2 replies
-
Maybe we are talking about different functions here, but the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Toby222
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe we are talking about different functions here, but the
findBody
function intestbed/index.js
returns the body synchonously, see line 278 (but uses a function passing all found fixtures to a callback)Does this function solve your issue or did I misunderstand your question? 😅