Permalink
Cannot retrieve contributors at this time
37 lines (35 sloc)
921 Bytes
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 | |
} | |
} | |
}); | |
}; |