unit testing - Karma error - Unknown provider: $$asyncCallbackProvider -
trying run karma test through grunt getting error:
error: [$injector:modulerr] failed instantiate module ngmock due to: error: [$injector:unpr] unknown provider: $$asynccallbackprovider
i removed 'nganimate' not resolve it. how can run grunt karma test without error?
i had same problem now, , fixed making sure version of angular-mock dependancy same angular.
you can in bower.json file (change "angular-mocks": "~1.3.0" "angular-mocks": "^1.3.0" or specific version).
Comments
Post a Comment