Move config files

This commit is contained in:
Nicolas Gallagher
2015-09-03 19:36:43 -07:00
parent fb7a997256
commit f951de43a2
3 changed files with 4 additions and 4 deletions
-45
View File
@@ -1,45 +0,0 @@
var webpackConfig = require('./webpack-base.config.js')
// entry is determined by karma config 'files' array
webpackConfig.devtool = 'inline-source-map'
webpackConfig.entry = {}
module.exports = function (config) {
config.set({
browsers: [ 'Chrome' ],
browserNoActivityTimeout: 60000,
client: {
captureConsole: true,
mocha: {
ui: 'tdd'
},
useIframe: true
},
files: [
'src/specs.bundle.js'
],
frameworks: [
'mocha'
],
plugins: [
'karma-chrome-launcher',
'karma-mocha',
'karma-sourcemap-loader',
'karma-webpack'
],
preprocessors: {
'src/specs.bundle.js': [ 'webpack', 'sourcemap' ]
},
reporters: [ 'dots' ],
singleRun: true,
webpack: webpackConfig,
webpackMiddleware: {
stats: {
assetsSort: 'name',
colors: true,
children: false,
chunks: false,
modules: false
}
}
})
}