Karma-istanbul code coverage fails to load files
<p>I am trying to generate coverage metrics for a git project:</p>

<p>Here is the sample repo:</p>

<p><a href="https://github.com/imvetri/JS-coverage" rel="nofollow">https://github.com/imvetri/JS-coverage</a></p>

<p>my.conf.js</p>

<pre><code>files: [ 'base/*.js', 'src/*.js', 'test/spec/*.js' ]
</code></pre>

<p>Executing the test:</p>

<pre><code>npm test

coverage-jasmine-istanbul-karma@0.0.1 test /Users/valappip/Downloads/coverage-jasmine-istanbul-karma-master
node_modules/.bin/karma start my.conf.js
INFO [karma]: Karma v0.10.10 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket 70e_eJb6AVI-1iy4f_F9
PhantomJS 1.9.8 (Mac OS X) ERROR
ReferenceError: Can't find variable: base
at /Users/valappip/Downloads/coverage-jasmine-istanbul-karma-master/base/base-base.js:6
PhantomJS 1.9.8 (Mac OS X): Executed 0 of 0 ERROR (0.03 secs / 0 secs)
npm ERR! weird error 1
npm ERR! not ok code 0
</code></pre>

<p>If I change the my.conf.js files to,</p>

<pre><code>files: [ 'base/base.js', 'base/base-base.js', 'src/*.js' 'test/spec/*.js', ]
</code></pre>

<p>Then it gives the report.  But in my actual project there are lots of JS files so I cannot add one by one.  Is there any way I can include all files at once?   Or can I load a dependency before the test starts?</p>