阅读背景:

Jasmine没有报告已调用Angular控制器函数

来源:互联网 

I have a method defined on a controller and I'm trying to test if it has been called. I am able to test that the method is defined, but when I try and test if it has been called, it complains that it expected the spy to have been called.I have a method defined on a controller and I'm




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

分享到: