How to use Jasmine spyOn to stop running a function and set value in my test explicitly

后端 未结 0 429
谎友^
谎友^ 2020-12-01 06:14

I\'m trying to test a function which returns true/false based on results of another function, but I don\'t want to test the implementation of the other function at this time

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