+ 1
How can I access the arguments of a callback function including default parameters without touching the implementation.
I tried to create a mock of the callback but somehow, the arguments of the callback were not preserved inside the mock function. I got the Idea of mock functions from Jest framework. https://code.sololearn.com/cx3Hoe7UwbYX/?ref=app
1 Antwort
+ 1
visph are you there bro? 😄. I'm back again with yet another question. As always. 😁😁😁