title: Karma: browser idle
body: <p>I am trying Karma for the first time, and after several hours I still can't get it to work.</p>
  
  <p>When I run the test by typing <code>karma start karma.conf.js</code> in the terminal, the browser window opens and displays the following (I have also tried with Chrome with the same result):</p>
  
  <p><a href="https://i.stack.imgur.com/Kx98O.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Kx98O.png" alt="enter image description here"></a></p>
  
  <p>This is the terminal output:</p>
  
  <pre><code>29 07 2015 16:27:12.835:INFO [karma]: Karma v0.13.3 server started at http://localhost:9876/
  29 07 2015 16:27:12.852:INFO [launcher]: Starting browser Firefox
  29 07 2015 16:27:15.866:INFO [Firefox 33.0.0 (Windows 7 0.0.0)]: Connected on socket HA1RSN-QsWuAO7NIAAAA with id 26755366
  </code></pre>
  
  <p>My karma.conf.js file is located at the root of my Node.js project and looks like this:</p>
  
  <pre><code>module.exports = function(config) {
    config.set({
      basePath: '',
      frameworks: ['jasmine'],
      files: [
          'tests/unit/test.js'
      ],
      exclude: [],
      preprocessors: {},
      reporters: ['progress'],
      port: 9876,
      colors: true,
      logLevel: config.LOG_INFO,
      autoWatch: false,  
      browsers: ['Firefox'],
      singleRun: false
    })
  }
  </code></pre>
  
  <p>My test.js file looks like this (example test from a book, my actual tests will the Angular.js tests):</p>
  
  <pre><code>describe("First Test", function () {
      var counter;
      beforeEach(function () {
          counter = 0;
      });
      it("increments value", function () {
          counter++;
          expect(counter).toEqual(1);
      });
      it("decrements value", function () {
          counter--;
          expect(counter).toEqual(0);
      });
  });
  </code></pre>
  
  <p>I'm using Node.js version 0.12.05.</p>
  
  <p>I appreciate any help as I feel really lost here.</p>