阅读背景:

使用Karma进行测试时,$ rootScope未定义

来源:互联网 

I am trying to write some unit tests for an angular project. I've followed some examples about testing a controller but I always end up with the same problem: $rootScope seems to be undefined.I am trying to write some unit tests for an ang




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

分享到: