Open samlevin opened 9 years ago
Hi @sjl2024 ,Try this method
return path.replace(/^\/base\/app\//, '').replace(/\.js$/, '');
with this line.
return path.replace(/^\/base\/unit-tests\//, '../unit-tests/').replace(/\.js$/, '');
{pattern: 'unit-tests/*.js', included: false},
I also created a project which I use for my own developments.You can check it Here
I love the angularjs-requirejs seed, and have used it several times for a number of projects. For my current project, I'm required to move the tests OUT of the main code-base. I've tried a number of ways to add tests to a separate area, but then I get errors like this:
I know that the project/test environment is correct, because when I move the tests back to their native folders, everything works okay. Here's a sample karma.conf (relevant parts):