title: why do I need to specify all files for karma config even if they are loaded with requirejs
body: <p>I have the following directory structure:</p>
  
  <pre><code>--app
    |---dots
    |    |---some.js
    |
    |---entry.js
    |---bootstrap.js
    |---karma.conf.js
    |---test-main.js
    |---test
        |---sampleSpec.js
  </code></pre>
  
  <p>Here is my <code>sampleSpec</code> dependencies:</p>
  
  <pre><code>define(["app/bootstrap", "app/dots/some"], function () {}]
  </code></pre>
  
  <p>So as I understand it I load <code>bootstrap</code> and <code>some</code> files into browser using requirejs. However, depending on whether I specify <code>dots/*</code> folder in my <code>karma.conf.js</code> file the karma server succeeds or fails to resolve <code>dots/some.js</code> file. What I mean is if I specify the following <code>pattern: 'app/**/*.js'</code> in <code>karma.conf.js</code>:</p>
  
  <pre><code>files: [
    'test-main.js',
    {pattern: 'app/**/*.js', included: false},
    {pattern: 'test/*Spec.js', included: false}
  ],
  </code></pre>
  
  <p>The <code>dots/some.js</code> file is loaded into browser, if I specify like this <code>pattern: 'app/*.js'</code> karma server returns <code>404</code> - file not found. Why is it so? Why should <code>karma</code> care about the path if I load it using <code>requirejs</code>?</p>