text: /*-
   * #%L
   * ARROWHEAD::WP5::Aggregator Manager
   * %%
   * Copyright (C) 2016 The ARROWHEAD Consortium
   * %%
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   * 
   * The above copyright notice and this permission notice shall be included in
   * all copies or substantial portions of the Software.
   * 
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   * THE SOFTWARE.
   * #L%
   */
  // Karma configuration
  // http://karma-runner.github.io/0.12/config/configuration-file.html
  // Generated on 2015-02-18 using
  // generator-karma 0.9.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/...)
      frameworks: ['jasmine'],
  
      // list of files / patterns to load in the browser
      files: [
        // bower:js
        'app/bower_components/jquery/dist/jquery.js',
        'app/bower_components/angular/angular.js',
        'app/bower_components/bootstrap/dist/js/bootstrap.js',
        'app/bower_components/angular-animate/angular-animate.js',
        'app/bower_components/angular-cookies/angular-cookies.js',
        'app/bower_components/angular-resource/angular-resource.js',
        'app/bower_components/angular-route/angular-route.js',
        'app/bower_components/angular-sanitize/angular-sanitize.js',
        'app/bower_components/angular-touch/angular-touch.js',
        'app/bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
        'app/bower_components/angular-ui-grid/ui-grid.js',
        'app/bower_components/d3/d3.js',
        'app/bower_components/json-editor/dist/jsoneditor.js',
        'app/bower_components/angular-json-editor/src/angular-json-editor.js',
        'app/bower_components/highcharts-ng/dist/highcharts-ng.js',
        'app/bower_components/angular-busy/dist/angular-busy.js',
        'app/bower_components/angular-local-storage/dist/angular-local-storage.js',
        'app/bower_components/angular-mocks/angular-mocks.js',
        // endbower
        'app/scripts/**/*.js',
        'test/mock/**/*.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_'
    });
  };
  