lundi 23 février 2015

John Papa "Y165" and Tests

My project has a structure like the Y165 Recommendation of John Papa. The web project works fine (So my app.modile.js is correct and my modules statements are too).


The problem is with the tests.


I use jasmine-maven-plugin with PhamtomJS (before the refactoring all was OK).


Right now I have an error : [$injector:nomod] Module 'xxxxxxxx' is not available ! You either misspelled the module name or forgot to load it. If registering a module enure that you specify the dependencies as the second argument.


At the beginning I make a : beforeEach(module('app')) so normally my modules should be seen like in the web project.


Aucun commentaire:

Enregistrer un commentaire