DEV Community

Discussion on: Testing Axios Requests With Jest

Collapse
 
richierunner profile image
Richie

mockAxios is not a module from the core axios library. This should not be working.

Collapse
 
hashinclude72 profile image
Shubham Jaswal

bruuuuuuuuuuuuuuuuuuh ... read comments like half hour later

Collapse
 
clfposthumus profile image
C. Posthumus

Second this. This article is the worst type of BS I have seen in a long time. MockAxios should be a selft written implementation.

Collapse
 
bmuthoga profile image
andela-bm

Was scratching my head wondering how?! this could possibly work, then I saw your comment, lol 😂