A better way to mock Axios requests
Up until a few days ago, the strategy I used for testing Axios requests was stubbing the module and returning the pieces of data I needed for the specific test, depending on the order of the requests, just like this: