Spying on fetch with Jest

Hi, I've been trying to spy on fetch to implement unit test with Jest, however with no success. Can anyone point me to a solution on how to retrieve the arguments with which fetch has been called and when? Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server