module.exports = function(config) {

  var karma = {
    frameworks: ['jasmine'],
    files: [
      'test/*.spec.js',
      'src/js/model.js',
      'src/js/view.js',
      'src/js/presenter.js'
    ],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    client: {
      captureConsole: false
    },
    autoWatch: false,
    browsers: ['Chrome'],
    customLaunchers: {
      ChromeTravis: {
        base: 'Chrome',
        flags: ['--no-sandbox']
      }
    },
    reporters: ['progress', 'coverage'],
    coverageReporter: {
      reporters: [
        {type: 'html', subdir: './html'},
        {type: 'lcovonly', subdir: './lcov'}
      ]
    },
    preprocessors: {
      'src/js/model.js': ['coverage'],
      'src/js/view.js': ['coverage']
    },
    singleRun: true,
    concurrency: Infinity
  };

  if (process.env.TRAVIS) {
    karma.browsers = ['ChromeTravis'];
  }

  config.set(karma);
};

module.exports = function(config) {

  var karma = {
    frameworks: ['jasmine'],
    files: [
      'test/*.spec.js',
      'src/js/model.js',
      'src/js/view.js',
      'src/js/presenter.js'
    ],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    client: {
      captureConsole: false
    },
    autoWatch: false,
    browsers: ['Chrome'],
    customLaunchers: {
      ChromeTravis: {
        base: 'Chrome',
        flags: ['--no-sandbox']
      }
    },
    reporters: ['progress', 'coverage'],
    coverageReporter: {
      reporters: [
        {type: 'html', subdir: './html'},
        {type: 'lcovonly', subdir: './lcov'}
      ]
    },
    preprocessors: {'src/js/*.js': ['coverage']},
    singleRun: true,
    concurrency: Infinity
  };

  if (process.env.TRAVIS) {
    karma.browsers = ['ChromeTravis'];
  }

  config.set(karma);
};

--- 
+++ 
@@ -29,7 +29,10 @@
         {type: 'lcovonly', subdir: './lcov'}
       ]
     },
-    preprocessors: {'src/js/*.js': ['coverage']},
+    preprocessors: {
+      'src/js/model.js': ['coverage'],
+      'src/js/view.js': ['coverage']
+    },
     singleRun: true,
     concurrency: Infinity
   };
Exclude presenter from unit testing
