title: how to fix 404 warnings for images during karma unit testing
body: <p>I'm unit testing one of my directives (angularjs) using grunt/karma/phantomjs/jasmine. My tests run fine</p>
  
  <pre><code>describe('bar foo', function () {
      beforeEach(inject(function ($rootScope, $compile) {
          elm = angular.element('&lt;img bar-foo src="img1.png"/&gt;');
          scope = $rootScope.$new();
          $compile(elm)();
          scope.$digest();
      }));
      ....
  });
  </code></pre>
  
  <p>but I do get these 404s </p>
  
  <pre><code>WARN [web-server]: 404: /img1.png
  WARN [web-server]: 404: /img2.png
  ...
  </code></pre>
  
  <p>Although they do nothing, they do add noise to the log output. Is there a way to fix this ? (without changing karma's logLevel of course, because I do want to see them)</p>