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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -