1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/delegate/karma.conf.js

25 lines
599 B
JavaScript
Raw Permalink Normal View History

2023-12-18 13:12:25 +08:00
module.exports = function(karma) {
karma.set({
plugins: ['karma-browserify', 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-phantomjs-launcher'],
frameworks: ['browserify', 'chai', 'sinon', 'mocha'],
files: [
'src/**/*.js',
'test/**/*.js',
'./node_modules/phantomjs-polyfill/bind-polyfill.js'
],
preprocessors: {
'src/**/*.js' : ['browserify'],
'test/**/*.js': ['browserify']
},
browserify: {
debug: true
},
browsers: ['PhantomJS']
});
}