title: karma test runner not running any tests
body: <p>I'm using karma with jasmine and followed online guide by installing using  </p>
  
  <pre><code>npm install --save-dev karma
  </code></pre>
  
  <p>and other necessities</p>
  
  <p>i ran  </p>
  
  <pre><code>./node_modules/karma/bin/karma start
  </code></pre>
  
  <p>and </p>
  
  <pre><code>karma start karma.conf.js
  </code></pre>
  
  <p>which opened  up a external chrome browser showing that karma is connected.
  I wrote a simple unit test for one my functions it seems its not running any tests at all</p>
  
  <p>This is my karma config file.</p>
  
  <pre><code>    // Karma configuration
  module.exports = function(config) {
   config.set({
  // base path, that will be used to resolve files and exclude
  basePath: '',
  
  // testing framework to use (jasmine/mocha/qunit/...)
  frameworks: ['jasmine'],
  
  // list of files / patterns to load in the browser
  files: [
    'app/assets/components/angular/angular.js',
    'app/assets/components/angular-mocks/angular-mocks.js',
    'app/assets/javascripts/**/**/*.js',
    'spec/javascripts/**/*.js'
  ],
  
  // list of files / patterns to exclude
  exclude: [],
  
  // web server port
  port: 8080,
  
  // level of logging
  // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
  logLevel: config.LOG_INFO,
  
  // enable / disable watching file and executing tests whenever any file changes
  autoWatch: false,
  
  // Start these browsers, currently available:
  // - Chrome
  // - ChromeCanary
  // - Firefox
  // - Opera
  // - Safari (only Mac)
  // - PhantomJS
  // - IE (only Windows)
  browsers: ['Chrome'],
  
  
  // Continuous Integration mode
  // if true, it capture browsers, run tests and exit
  singleRun: false
  });
   };
  </code></pre>
  
  <p>my unit test</p>
  
  <pre><code>describe('Unit: AddMedicalService',function(){
  
  
  beforeEach(module('DoctiblePreTreatment'));
  var ctrl, scope;
  
  beforeEach(inject(function($controller,$rootScope){
  scope = $rootScope.$new();
  
  ctrl = $controller('AddMedicalServiceModalCtrl',{
    $scope: scope
    });
  }));
  
  
  it('should create return true if var 1 is greater than var2 , false if other wise',
  function(){
    var compare1 = function(){
      var var1 = 1;
      var var2 = 0;
      return var1 &gt; var2;
    }
  
    var compare2 = function(){
      var var1 = 0;
      var var2 = 1;
      return var1 &gt; var2;
    }
  
    expect(compare1).toBeTruthy();
    expect(compare2).toBeFalsy();
  
     });
  
    });
  </code></pre>
  
  <p>the particular function in the controller im trying to test</p>
  
  <pre><code>(function() {
  app.controller('AddMedicalServiceModalCtrl',['ProviderMedicalService','Treatment','$scope','$modalInstance',function(ProviderMedicalService,Treatment,$scope,$modalInstance){
      $scope.newTreatment = {}
  
  
      $scope.checkless = function(var1,var2){
          var1 = parseInt(var1);
          var2 = parseInt(var2);
  
          if(var1 &gt; var2){
              return true;
          }
          else{
              return false;
          }
      }
      }]);
     })();
  </code></pre>
  
  <p>what is displayed on the console when i run karma</p>
  
  <pre><code>  INFO [karma]: Karma v0.12.21 server started at http://localhost:8080/
    INFO [launcher]: Starting browser Chrome
    INFO [Chrome 36.0.1985 (Mac OS X 10.9.4)]: Connected on socket MkqZfXcO6iIX4Od23QEr with id 9498055
  </code></pre>
  
  <p>Additional info: I'm using angular-js with ruby on rails. I'm aware that there is the jasmine gem out there that can help me. But my boss insisted that we should try using karma to do our unit testing/E2E for anuglarjs portion and rspec for rails.</p>