mirror of
https://gitee.com/la-vie/console-pro-free.git
synced 2024-12-26 03:39:18 +00:00
24 lines
509 B
JavaScript
24 lines
509 B
JavaScript
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']
|
|
});
|
|
}
|