Jest : Mocking chained function

前端 未结 0 1327
别跟我提以往
别跟我提以往 2020-12-06 04:48

I\'d like to test my code written in JS but I don\'t know how I can do that. I have a function which call another which call another function like that :

func         


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