text: // Karma configuration
  // http://karma-runner.github.io/0.10/config/configuration-file.html
  
  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      : [
              // bower:js
              "bower_components/jquery/dist/jquery.js",
              "bower_components/angular/angular.js",
              "bower_components/angular-sanitize/angular-sanitize.js",
              "bower_components/lodash/lodash.js",
              "bower_components/ng-slide-down/dist/ng-slide-down.js",
              "bower_components/angular-ui-router/release/angular-ui-router.js",
              "bower_components/angular-translate/angular-translate.js",
              "bower_components/angular-translate-loader-partial/angular-translate-loader-partial.js",
              "bower_components/angular-bootstrap/ui-bootstrap-tpls.js",
              "bower_components/matchmedia/matchMedia.js",
              "bower_components/matchmedia-ng/matchmedia-ng.js",
              "bower_components/ovh-angular-responsive-popover/dist/ovh-angular-responsive-popover.min.js",
              "bower_components/ovh-angular-actions-menu/dist/ovh-angular-actions-menu.min.js",
              "bower_components/angular-mocks/angular-mocks.js",
              // endbower
              "src/ovh-angular-sidebar-menu.js",
              "src/**/*.js",
              "src/**/*.html"
          ],
  
          // list of files / patterns to exclude
          exclude               : [],
  
          // web server port
          port                  : 8081,
  
          // level of logging
          // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
          logLevel              : config.LOG_INFO,
  
          // reporter types:
          // - dots
          // - progress (default)
          // - spec (karma-spec-reporter)
          // - junit
          // - growl
          // - coverage
          reporters: ["spec"],
  
          // enable / disable watching file and executing tests whenever any file changes
          autoWatch             : false,
  
          preprocessors: {
              "src/**/*.html": "ng-html2js"
          },
  
          ngHtml2JsPreprocessor: {
              stripPrefix: "src/",
              moduleName: "templates"
          },
  
          // Start these browsers, currently available:
          // - Chrome
          // - ChromeCanary
          // - Firefox
          // - Opera
          // - Safari (only Mac)
          // - PhantomJS
          // - IE (only Windows)
          browsers              : ["PhantomJS"],
          // browsers: ["Chrome", "Chrome_without_security"],
  
          // customLaunchers: {
          //   Chrome_without_security: {
          //     base: "Chrome",
          //     flags: ["--disable-web-security"]
          //   }
          // },
  
          // Continuous Integration mode
          // if true, it capture browsers, run tests and exit
          singleRun             : false
      });
  };
  