阅读背景:

在使用Jasmine测试时,如何在控制器中触发$ emit来测试监听器上的$?

来源:互联网 

I've got a controller and want to test it with a Jasmine. There is an $on listener in the scope of controller that I want to test. How do I trigger $emit event to run $on listener? I've got a controller and want to test it with




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

分享到: