setup-python/node_modules/psl/karma.conf.js

39 lines
499 B
JavaScript
Raw Normal View History

2019-06-27 08:12:00 +07:00
'use strict';
module.exports = function (config) {
config.set({
browsers: ['PhantomJS'],
frameworks: ['browserify', 'mocha'],
files: [
'test/**/*.spec.js'
],
preprocessors: {
'test/**/*.spec.js': ['browserify']
},
reporters: ['mocha'],
client: {
mocha: {
reporter: 'tap'
}
},
plugins: [
'karma-browserify',
'karma-mocha',
'karma-mocha-reporter',
'karma-phantomjs-launcher'
]
});
};