阅读背景:

在angular.js应用程序的配置阶段期间的Spyon提供程序

来源:互联网 

I am writing unit tests for an Angular.js application (with karma and jasmine), and I want to test a certain behavior in the CONFIG phase of a module. I would like to confirm that a certain function of a PROVIDER is being called. I thought I could do this with a I am writing unit tests for an Angular.js appli




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

分享到: