console-pro-free/console-pro/node_modules/select/karma.conf.js
la vie est belle 620637fd28 first commit
2023-11-01 10:27:59 +08:00

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']
});
}