阅读背景:

单元测试——使用来自模拟服务的原始服务?

来源:互联网 

I am trying to mock the $timeout service, which I know how to do, however, I need to be able to call the ORIGINAL $timeout service from within my mock. However, it just ends up with a stack overflow, recursively calling itself...I am trying to mock the $timeout service, which




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: