module.exports = function(config) {
  config.set({
    basePath: '',
    frameworks: ['mocha', 'chai', 'sinon'],
    files: [
      './test/RuntimeUA.spec.js'
    ],
    exclude: [
      './test/GraphConnector.spec.js',
      './test/PolicyEngine.spec.js'

    ],
    preprocessors: {
      './test/**/*.spec.js': ['webpack', 'sourcemap']
    },

    // webpack configuration
    webpack: {
      devtool: 'inline-source-map'
    },

    reporters: ['spec', 'html'],

    specReporter: {
      maxLogLines: 5,             // limit number of lines logged per test
      suppressErrorSummary: false, // do not print error summary
      suppressFailed: false,      // do not print information about failed tests
      suppressPassed: false,      // do not print information about passed tests
      suppressSkipped: false,      // do not print information about skipped tests
      showSpecTiming: true,      // print the time elapsed for each spec
      failFast: false              // test would finish with error when a first fail occurs.
    },

    // the default configuration
    htmlReporter: {
      outputFile: 'test/units.html',

      // Optional
      pageTitle: 'Unit Tests',
      subPageTitle: 'reThink Project performance tests',
      groupSuites: true,
      useCompactStyle: true,
      useLegacyStyle: true
    },

    plugins: ['karma-spec-reporter',
      'karma-webpack',
      'karma-sourcemap-loader',
      'karma-mocha', 'karma-chai',
      'karma-sinon',
      'karma-htmlfile-reporter',
      'karma-mocha-reporter',
      'karma-chrome-launcher'],

    // customDebugFile: './test/units.html',

    // customContextFile: './test/units.html',

    client: {
      mocha: {
        reporter: 'html'
      },
      captureConsole: true,
      useIframe: true
    },

    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,

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

    customLaunchers: {
      ChromeTravis: {
        base: 'Chrome',
        flags: [
          '--disable-popup',
          '--disable-web-security',
          '--ignore-certificate-errors'
        ]
      }
    },

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

@@ -137,17 +137,9 @@
 est/
-RuntimeUA
+*
 .spe

Update the karma config