var webpackConfig = require('./webpack.config.test');

module.exports = function(karma) {

  karma.set({
    files: [
      {
        pattern: 'tests.webpack.js',
        watched: true
      }
    ],
    autoWatch: true,
    logLevel: karma.LOG_INFO,
    basePath: '',
    singleRun: false,
    frameworks: [
      'jasmine',
      'jasmine-expect-jsx',
      'phantomjs-shim'
    ],
    preprocessors: {
      'tests.webpack.js': 'webpack'
    },
    browsers: ['PhantomJS'],
    colors: true,
    browserNoActivityTimeout: 100000,
    webpackMiddleware: {
      noInfo: true
    },
    webpack: webpackConfig,
    reporters: [ 'spec', 'coverage' ],
    coverageReporter: {
      type: 'lcov',
      dir: 'coverage/',
      subdir: '.',
      includeAllSources: true
    },
    specReporter: {
      suppressSkipped: true
    }
  });

};

var webpackConfig = require('./webpack.config.test');

module.exports = function(karma) {

  karma.set({
    files: [
      {
        pattern: 'tests.webpack.js',
        watched: true
      }
    ],
    autoWatch: true,
    logLevel: karma.LOG_INFO,
    basePath: '',
    singleRun: false,
    frameworks: [
      'jasmine',
      'phantomjs-shim'
    ],
    preprocessors: {
      'tests.webpack.js': 'webpack'
    },
    browsers: ['PhantomJS'],
    colors: true,
    browserNoActivityTimeout: 100000,
    webpackMiddleware: {
      noInfo: true
    },
    webpack: webpackConfig,
    reporters: [ 'spec', 'coverage' ],
    coverageReporter: {
      type: 'lcov',
      dir: 'coverage/',
      subdir: '.',
      includeAllSources: true
    },
    specReporter: {
      suppressSkipped: true
    }
  });

};

Remove jasmine-expect-jsx from karma file
Remove jasmine-expect-jsx from karma file
