Jest Unit Test - Mocking async function inside another async Function

前端 未结 0 1584
不思量自难忘°
不思量自难忘° 2021-01-05 05:39

I am trying to mock a function that calls another async function inside it. Testing funcB in this case.

export async function funcA(x) {
  const response = aw         


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