mercury-parser/karma.conf.js

32 lines
558 B
JavaScript
Raw Normal View History

module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'browserify'],
files: [
{ pattern: 'src/**/*.test.js', included: true },
],
2019-01-23 17:54:42 +00:00
exclude: [],
preprocessors: {
'src/**/*.js': ['browserify'],
},
browserify: {
debug: true,
2019-01-23 17:54:42 +00:00
transform: ['babelify', 'brfs'],
},
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
2019-01-23 17:54:42 +00:00
browsers: ['Chrome'],
singleRun: true,
concurrency: Infinity,
});
};