+ 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

4th Jan 2022, 3:00 AM
جوردن آهو ماولی
جوردن آهو ماولی - avatar
1 Answer
+ 1
visph are you there bro? 😄. I'm back again with yet another question. As always. 😁😁😁
4th Jan 2022, 3:00 AM
جوردن آهو ماولی
جوردن آهو ماولی - avatar