-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
27 lines (26 loc) · 904 Bytes
/
karma.conf.js
File metadata and controls
27 lines (26 loc) · 904 Bytes
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
26
27
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',
'node_modules/foundation-sites/dist/foundation.min.js',
'app/tests/**/*.test.jsx'
],
preprocessors:{
'app/tests/**/*.test.jsx': ['webpack','sourcemap']
},
reporters:['mocha'],
client:{
mocha:{
timeout: '5000'
}
},
webpack:webpackConfig,
webpackServer:{
noInfo:true
}
});
}