module.exports = function(config) {
  config.set({
    basePath: '../',
    frameworks: ['jasmine'],
    files: [
      'bower_components/angular/angular.js',
      'bower_components/angular-mocks/angular-mocks.js',
      'src/*.js',
      'test/helpers/*.helper.js',
      'test/specs/*.spec.js'
    ],
    reporters: ['progress', 'coverage'],
    preprocessors: {
      'src/*.js': ['coverage']
    },
    coverageReporter: {
      reporters: [
        { type: 'lcovonly' },
        { type: 'text-summary' }
      ]
    },
    port: 8089,
    runnerPort: 9109,
    urlRoot: '/__karma/',
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    autoWatchInterval: 0,
    browsers: ['Firefox'],
    singleRun: true
  });
};

module.exports = function(config) {
  config.set({
    basePath: '../',
    frameworks: ['jasmine'],
    files: [
      'bower_components/angular/angular.js',
      'bower_components/angular-mocks/angular-mocks.js',
      'src/*.js',
      'test/helpers/*.helper.js',
      'test/specs/*.spec.js'
    ],
    reporters: ['progress', 'coverage'],
    preprocessors: {
      'src/*.js': ['coverage']
    },
    coverageReporter: {
      reporters: [
        { type: 'lcov' },
        { type: 'text-summary' }
      ]
    },
    port: 8089,
    runnerPort: 9109,
    urlRoot: '/__karma/',
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    autoWatchInterval: 0,
    browsers: ['Firefox'],
    singleRun: true
  });
};

Add html test coverage reporting
Add html test coverage reporting

The html reporter for test coverage provides a visual representation of
exactly which lines/code have test coverage, so its very useful in
tracking down missing tests. This will only affect development.
