2016-10-15 16:33:28 +00:00
|
|
|
var webpack = require('./webpack.config.js');
|
2014-11-25 02:44:50 +00:00
|
|
|
|
|
|
|
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']
|
|
|
|
},
|
2014-11-25 02:44:50 +00:00
|
|
|
reporters: ['progress', 'notify'],
|
|
|
|
colors: true,
|
|
|
|
logLevel: karma.LOG_INFO,
|
2016-07-27 15:20:11 +00:00
|
|
|
browsers: ['Firefox'],
|
2014-11-25 02:44:50 +00:00
|
|
|
autoWatch: true,
|
|
|
|
singleRun: false,
|
2016-10-15 16:33:28 +00:00
|
|
|
webpack: {
|
|
|
|
devtool: 'inline-source-map',
|
|
|
|
module: webpack.module
|
|
|
|
}
|
2014-11-25 02:44:50 +00:00
|
|
|
});
|
|
|
|
};
|