We are going to require the axios library in our test case, and provide a mock implementation. const axios = require('axios'); jest.spyOn(axios, 'default').
確定! 回上一頁