vendredi 3 juillet 2015

angularjs and mocha test Uncaught TypeError: (window.beforeEach || window.setup) is not a function

I have been trying to test angular js with mocha in my meteor app. I installed ngMock and have injected it to my module. I get the following issue right as I start my app.

I tried installing ngMock with both atmosphere and bower. Both shows the same issue.

Uncaught TypeError: (window.beforeEach || window.setup) is not a function

and after this I see throttle error in angularjs(I don't know what that means) Uncaught TypeError: $$rAF.throttle is not a function

I haven't even started writing tests for angular, I just downloaded the plugin.

Is there anything I am missing?

Aucun commentaire:

Enregistrer un commentaire