module.exports = function (config) {
  config.set(
      {
        basePath: 'public',

        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['mocha', 'sinon-chai'],

        // list of files / patterns to load in the browser
        files: [
          'js/lib/underscore/underscore-min.js',
          'js/lib/jquery/jquery-1.11.1.js',
          'js/lib/angular/angular.min.js',
          'js/lib/angular/angular-mocks.js',
          'js/lib/angular/angular-animate.min.js',
          'js/lib/angular/angular-aria.min.js',
          'js/lib/hammerjs/hammer.min.js',
          'js/lib/angular-material/angular-material.js',
          'js/lib/angular-jwt/angular-jwt.min.js',
          'js/lib/treeview/angular.treeview.min.js',
          'js/lib/zeroclipboard/ZeroClipboard.min.js',
          'js/app/zeroclipboard-config.js',
          'js/app/**/*.js'
        ],

        // list of files to exclude
        exclude: [
          '**/Gruntfile.js',
          '**/karma.conf.js'
        ],

        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
          'js/app/**/*.js': 'coverage'
        },

        // possible values: 'dots', 'progress'
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ['progress'],

        coverageReporter: {
          type: 'lcov',
          dir: '../coverage-frontend/'
        },

        // web server port
        port: 9876,

        // enable / disable colors in the output (reporters and logs)
        colors: true,

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

        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: false,

        // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
        browsers: ['PhantomJS'],

        // Continuous Integration mode
        // if true, Karma captures browsers, runs the tests and exits
        singleRun: false
      });
};

@@ -60,16 +60,18 @@
         
+//
 basePath
@@ -82,16 +82,16 @@
 ublic',%0A
-
 %0A       
@@ -292,24 +292,31 @@
 %0A          '
+public/
 js/lib/under
@@ -348,24 +348,31 @@
 %0A          '
+public/
 js/lib/jquer
@@ -395,32 +395,39 @@
 js',%0A          '
+public/
 js/lib/angular/a
@@ -445,32 +445,39 @@
 js',%0A          '
+public/
 js/lib/angular/a
@@ -497,32 +497,39 @@
 js',%0A          '
+public/
 js/lib/angular/a
@@ -555,32 +555,39 @@
 js',%0A          '
+public/
 js/lib/angular/a
@@ -614,24 +614,31 @@
 %0A          '
+public/
 js/lib/hamme
@@ -660,32 +660,39 @@
 js',%0A          '
+public/
 js/lib/angular-m
@@ -728,24 +728,31 @@
 %0A          '
+public/
 js/lib/angul
@@ -786,24 +786,31 @@
 %0A          '
+public/
 js/lib/treev
@@ -850,16 +850,23 @@
        '
+public/
 js/lib/z
@@ -908,24 +908,31 @@
 %0A          '
+public/
 js/app/zeroc
@@ -955,32 +955,39 @@
 js',%0A          '
+public/
 js/app/**/*.js'%0A
@@ -1319,16 +1319,23 @@
        '
+public/
 js/app/*
@@ -1579,16 +1579,16 @@
 'lcov',%0A
+
         
@@ -1599,11 +1599,8 @@
 r: '
-../
 cove

fix relative path issue with coverage report