var webpack = require('webpack');

module.exports = function (config) {
  config.set({
    browsers: [ process.env.CONTINUOUS_INTEGRATION ? 'Firefox' : 'Chrome' ], // use Firefox for Travis CI
    singleRun: true,
    frameworks: [ 'mocha' ],
    files: [
      'tests.webpack.js'
    ],
    preprocessors: {
      'tests.webpack.js': [ 'webpack', 'sourcemap' ]
    },
    reporters: [ 'dots' ],
    webpack: {
      devtool: 'inline-source-map',
      module: {
        loaders: [
          {
            test: /.jsx?$/,
            loader: 'babel-loader',
            exclude: /node_modules/,
            query: {
              presets: ['es2015', 'react']
            }
          }
        ]
      }
    },
    webpackServer: {
      noInfo: true
    }
  });
};

@@ -669,32 +669,153 @@
    %7D%0A          %7D
+,%0A          %7B%0A            test: /%5C.scss$/,%0A            loaders: %5B%22style%22, %22css?sourceMap%22, %22sass?sourceMap%22%5D%0A          %7D,
 %0A        %5D%0A     

add sass-loader to karma config file