Testing an async function within a promise using jest

后端 未结 0 419
感动是毒
感动是毒 2021-02-06 09:17

I have a piece of code I have been struggling to test. It is a promise, and within that promise is another async function. For example:

export const myFunc = () =         


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