How to test functions that pass payloads to callback functions

后端 未结 0 1008
别那么骄傲
别那么骄傲 2021-02-01 06:53

I have a function:

export const refreshAuth = () =>
  new Promise((resolve, reject) =>
    getRefreshToken()
      .then(refreshJWT =>
        axios.post         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题