title: JASMINE not defined when I try to run Karma test runner
body: <p>I am trying to hook up the Karma test runner, using this <a href="https://github.com/skusunam/angular-grunt-seed">seed project</a> as a model.</p>
  
  <p>I pull the seed project in, build it, and the test runner works great.</p>
  
  <p>When I edit the <code>karma.conf.js</code> config file to start including the files from my project, and move it to my current setup (outside the seed project), I get this error:</p>
  
  <pre><code>Running "karma:dev" (karma) task
  ERROR [config]: Error in config file!
  [ReferenceError: JASMINE is not defined]
  ReferenceError: JASMINE is not defined
      at module.exports (C:\dev_AD_2014.01_PHASE1\config\karma-dev.conf.js:4:7)
      ...
  </code></pre>
  
  <p>I think I see what it's complaining about... in the seed project, it's karma config file is of an older format, that must have <code>JASMINE</code> and <code>JASMINE_ADAPTER</code> defined somewhere:</p>
  
  <p><strong>Seed Project karma config snippet</strong></p>
  
  <pre><code>files = [
    JASMINE,
    JASMINE_ADAPTER,
    '../app/lib/angular/angular.js',
    'lib/angular/angular-mocks.js',
    '../app/js/*.js',
    ....
  ];
  
  exclude = ['karma.conf.js'];
  ...
  </code></pre>
  
  <p>My newer setup uses all the latest grunt plugins, and wants the config file wrapped in a module definition like so:</p>
  
  <p><strong>My karma config snippet</strong></p>
  
  <pre><code>module.exports = function(config) {
    config.set({
      files: [
        JASMINE,
        JASMINE_ADAPTER,
        // library and vendor files
        '../dev/vendor/**/*.js'
        '../dev/app/**/*.js'
      ],
  
      exclude: ['**/*.e2e.js', '../config/*.js'],
      reporters: ['progress'],
      ...
  </code></pre>
  
  <p>So it seems the problem is clear: the newer version(s) of some grunt plugins expect the modular definition, but are longer is setting up <code>JASMINE</code>, etc, as variables that are defined. That's my guess, but I'm a little lost on how to resolve this. I don't want to use the version of Karma that comes with the seed project if I can help it... I think it's version 0.4.4. I believe the newest stable version is 0.10.x.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks!</p>