How to mock a method that is returning a subscribe

前端 未结 0 1708
谎友^
谎友^ 2021-01-14 13:58

I currently have a method that I wanted to test and mock but not sure how to do it

interaction
  .onEvent(\'DO_SOMETHING\')
  .subscribe(async (items: Array&l         


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