DEV Community

Discussion on: Axios Mocking in React using Typescript and testing-library

Collapse
 
lucaconfa80 profile image
Luca Confalonieri

Interesting article.
I am trying to follow your example in my tests, but I get stuck on a
TypeError: axios_1.default is not a function error.
Not sure why.