regexper-static/karma.conf.js

22 lines
509 B
JavaScript
Raw Normal View History

2016-10-15 16:33:28 +00:00
var webpack = require('./webpack.config.js');
module.exports = function(karma) {
karma.set({
frameworks: ['browserify', 'jasmine'],
2016-10-15 16:33:28 +00:00
files: [ 'spec/test_index.js' ],
preprocessors: {
'spec/test_index.js': ['webpack', 'sourcemap']
},
reporters: ['progress', 'notify'],
colors: true,
logLevel: karma.LOG_INFO,
browsers: ['Firefox'],
autoWatch: true,
singleRun: false,
2016-10-15 16:33:28 +00:00
webpack: {
devtool: 'inline-source-map',
module: webpack.module
}
});
};