Need help testing promise chains using jest

前端 未结 0 1195
礼貌的吻别
礼貌的吻别 2021-02-01 10:06

I have a function that looks like the following:

const func = () => 
  new Promise((resolve, reject) => 
    asyncFunc()
      .then(data => 
          a         


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