Trying to make a simple Axios mock with jest
问题 I am trying to understand this example, so the first thing I am trying is removing his axiosConfig.js , so the example looks more like the current case I would like to solve. However I get this error - Expected + Received Object { + "baseURL": "https://jsonplaceholder.typicode.com/albums", "method": "get", "url": "/3/photos?_limit=3", }, Number of calls: 1 39 | const photos = await getPhotosByAlbumID(3); 40 | expect(axios.request).toHaveBeenCalled(); > 41 | expect(axios.request)