AngularJS test - inject $location causes error

半腔热情 提交于 2019-12-06 01:52:55

If you are using angular in a version >= 1.3, you have also to use angular-mocks in a version >= 1.3

In general: The version of angular-mocks should always be at the same level as angular.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!