The Wayback Machine - https://web.archive.org/web/20211016113244/https://github.com/caolan/async/blob/master/karma.conf.js
Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
module.exports = function(config) {
config.set({
browsers: ['Firefox'],
files: ['test/*.js'],
frameworks: ['browserify', 'mocha'],
plugins: [
'karma-browserify',
'karma-mocha',
'karma-mocha-reporter',
'karma-junit-reporter',
'karma-edge-launcher',
'karma-firefox-launcher',
'karma-safari-launcher'
],
preprocessors: {
'test/*.js': ['browserify'],
'lib/*.js': ['browserify']
},
reporters: ['mocha'],
junitReporter: {
outputFile: 'browser-test-results.xml'
},
singleRun: true,
browserify: {
debug: true,
transform: ['babelify']
},
client: {
mocha: {
grep: '@nodeonly',
invert: true
}
}
});
};