John Papa "Y165" and Tests

104 Views Asked by At

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.

0

There are 0 best solutions below