You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
509 B
24 lines
509 B
1 year ago
|
module.exports = function(karma) {
|
||
|
karma.set({
|
||
|
plugins: ['karma-browserify', 'karma-chai', 'karma-mocha', 'karma-phantomjs-launcher'],
|
||
|
|
||
|
frameworks: ['browserify', 'chai', 'mocha'],
|
||
|
|
||
|
files: [
|
||
|
'src/**/*.js',
|
||
|
'test/**/*.js'
|
||
|
],
|
||
|
|
||
|
preprocessors: {
|
||
|
'src/**/*.js' : ['browserify'],
|
||
|
'test/**/*.js': ['browserify']
|
||
|
},
|
||
|
|
||
|
browserify: {
|
||
|
debug: true
|
||
|
},
|
||
|
|
||
|
browsers: ['PhantomJS']
|
||
|
});
|
||
|
}
|