DEV Community

Discussion on: The only 3 steps you need to mock an API call in Jest

Collapse
 
diabl0269 profile image
Diabl0269

Hey Zak, I wanted to tell you that i open this account just to comment on your article.
I was trying to understand how to mock a function's return value and was looking for it for hours.
I must say that your explanation was short and sweet.
Thank you.

Collapse
 
zaklaughton profile image
Zak Laughton

Good to hear I'm not the only one who found this so difficult to figure out at first! 😁 Glad I could save you some time in the end!