To test it you can add the async keyword to the test method and call the method being tested with the await keyword. Source file: userApi.js. const axios = ...
確定! 回上一頁