forked from ukrbublik/react-awesome-query-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
25 lines (22 loc) · 793 Bytes
/
karma.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'use strict';
var webpack = require('webpack');
var webpack_config = require('./webpack.config');
module.exports = function (config) {
config.set({
browsers: [ 'Chrome' ], //run in Chrome
singleRun: false, //just run once by default
autoWatch: true,
frameworks: [ 'mocha' ], //use the mocha test framework
files: [
'tests/webpack.js' //just load this file
],
preprocessors: {
'tests/webpack.js': [ 'webpack', 'sourcemap' ] //preprocess with webpack and our sourcemap loader
},
reporters: [ 'dots' ], //report results in this format
webpack: webpack_config,
webpackServer: {
noInfo: true //please don't spam the console when running in karma!
}
});
};