// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2015-06-23 using
// generator-karma 1.0.0

module.exports = function(config) {
  'use strict';

  config.set({
    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: true,

    // base path, that will be used to resolve files and exclude
    basePath: '../',

    // testing framework to use (jasmine/mocha/qunit/...)
    // as well as any additional frameworks (requirejs/chai/sinon/...)
    frameworks: [
      'jasmine'
    ],

    // list of files / patterns to load in the browser
    files: [
      // bower:js
      'bower_components/jquery/dist/jquery.js',
      'bower_components/angular/angular.js',
      'bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js',
      'bower_components/angular-animate/angular-animate.js',
      'bower_components/angular-ui-router/release/angular-ui-router.js',
      'bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
      'bower_components/leaflet-dist/leaflet.js',
      'bower_components/leaflet-draw/dist/leaflet.draw-src.js',
      'bower_components/lodash/lodash.js',
      'bower_components/ngGeolocation/ngGeolocation.js',
      'bower_components/angular-smart-table/dist/smart-table.js',
      'bower_components/angular-mocks/angular-mocks.js',
      // endbower
      'test/mock/**/*.js',
      'app/scripts/config.js',
      'app/scripts/affix/module.js',
      'app/scripts/affix/action-bar-affix-directive.js',
      'app/scripts/brand/module.js',
      'app/scripts/brand/brand-directive.js',
      'app/scripts/geocoder/module.js',
      'app/scripts/geocoder/geocoder-service.js',
      'app/scripts/museum/module.js',
      'app/scripts/museum/museum-service.js',
      'app/scripts/acs/module.js',
      'app/scripts/acs/acs-service.js',
      'app/scripts/map/module.js',
      'app/scripts/map/cartodb-vis-directive.js',
      'app/scripts/util/module.js',
      'app/scripts/util/util-service.js',
      'app/scripts/views/footer/module.js',
      'app/scripts/views/footer/footer-directive.js',
      'app/scripts/views/home/module.js',
      'app/scripts/views/home/home-controller.js',
      'app/scripts/views/about/module.js',
      'app/scripts/views/about/about-controller.js',
      'app/scripts/views/contact/module.js',
      'app/scripts/views/contact/contact-controller.js',
      'app/scripts/views/museum/module.js',
      'app/scripts/views/museum/museum-controller.js',
      'app/scripts/app.js',
      'test/spec/**/*.js'
    ],

    // list of files / patterns to exclude
    exclude: [
    ],

    // web server port
    port: 8080,

    // Start these browsers, currently available:
    // - Chrome
    // - ChromeCanary
    // - Firefox
    // - Opera
    // - Safari (only Mac)
    // - PhantomJS
    // - IE (only Windows)
    browsers: [
      'PhantomJS'
    ],

    // Which plugins to enable
    plugins: [
      'karma-phantomjs-launcher',
      'karma-jasmine'
    ],

    // Continuous Integration mode
    // if true, it capture browsers, run tests and exit
    singleRun: false,

    colors: true,

    // level of logging
    // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
    logLevel: config.LOG_INFO,

    // Uncomment the following lines if you are using grunt's server to run the tests
    // proxies: {
    //   '/': 'http://localhost:9000/'
    // },
    // URL root prevent conflicts with the site root
    // urlRoot: '_karma_'
  });
};

@@ -1515,34 +1515,9 @@
 fix/
-action-bar-affix-directive
+*
 .js'
@@ -1584,23 +1584,9 @@
 and/
-brand-directive
+*
 .js'
@@ -1659,24 +1659,9 @@
 der/
-geocoder-service
+*
 .js'
@@ -1730,22 +1730,9 @@
 eum/
-museum-service
+*
 .js'
@@ -1795,19 +1795,9 @@
 acs/
-acs-service
+*
 .js'
@@ -1860,29 +1860,9 @@
 map/
-cartodb-vis-directive
+*
 .js'
@@ -1927,20 +1927,9 @@
 til/
-util-service
+*
 .js'
@@ -2010,24 +2010,9 @@
 ter/
-footer-directive
+*
 .js'
@@ -2089,23 +2089,9 @@
 ome/
-home-controller
+*
 .js'
@@ -2170,24 +2170,9 @@
 out/
-about-controller
+*
 .js'
@@ -2255,26 +2255,9 @@
 act/
-contact-controller
+*
 .js'
@@ -2338,25 +2338,9 @@
 eum/
-museum-controller
+*
 .js'

Use wildcards for test file includes