Initial git
This commit is contained in:
26
karma.conf.js
Normal file
26
karma.conf.js
Normal file
@@ -0,0 +1,26 @@
|
||||
var webpackConfig = require('./webpack.config.js');
|
||||
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
browsers: ['Chrome'],
|
||||
singleRun: true,
|
||||
frameworks: ['mocha'],
|
||||
files: [
|
||||
'node_modules/jquery/dist/jquery.min.js',
|
||||
'app/tests/**/*.test.jsx'
|
||||
],
|
||||
preprocessors: {
|
||||
'app/tests/**/*.test.jsx': ['webpack', 'sourcemap']
|
||||
},
|
||||
reporters: ['mocha'],
|
||||
client: {
|
||||
mocha: {
|
||||
timeout: '5000'
|
||||
}
|
||||
},
|
||||
webpack: webpackConfig,
|
||||
webpackServer: {
|
||||
noInfo: true
|
||||
}
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user