I create karma in an existing project. I have work and the correct work on tests, but I can not get myself to work.
I have all the necessary modules installed, but I think that this is due to the way I include my files in the "preprocessors" object.
My project is set up with the file structure below
App
|
|
|
Karma coverage documents state that when setting up coverage, tests or libraries should not be included. I guess I'm wondering how to exclude files using ".Tests.js" at the end.
The object of my preprocessors looks below. Is there a way to include the files that I want to use to create coverage for using glob, or should I, unfortunately, individually add these files?
preprocessors: {
'./App/**/*.tpl.html' : 'ng-html2js',
'./App/**/*.js': ['coverage']
}