jeudi 23 avril 2015

Foundation-Apps angular site integration with karma-jasmine unit testing

I believe there is a problem with using angular-mocks and foundation-apps when trying to run a karma jasmine unit test. It could also be that I have missed something. Since there is so much code to see I have posted an example project on github for review.

Basically the site runs fine and karma runs the test but when you debug into the angular.mocks.module function you find that your module from your app is not being loaded.

If you take foundation-apps out of the situation it will work fine.

Could this be a version conflict because foundation-apps has an older dependency for angular-mocks?

fatest on github

Aucun commentaire:

Enregistrer un commentaire