I tried yesterday to use nock for unit testing in a React/Redux/reqwest application and I was unable to make them work together. Later I had to replace reqwest with fecth. The details of the error can be found in the link below. I don't want to give up reqwest though. Do you guys mind to take a look when you have time?
I tried yesterday to use nock for unit testing in a React/Redux/reqwest application and I was unable to make them work together. Later I had to replace reqwest with fecth. The details of the error can be found in the link below. I don't want to give up reqwest though. Do you guys mind to take a look when you have time?
https://stackoverflow.com/questions/45470427/async-callback-was-not-invoked-within-timeout-nock-reqwest