2016-11-21 22:17:06 +00:00
|
|
|
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: [],
|
2016-11-21 22:17:06 +00:00
|
|
|
|
|
|
|
preprocessors: {
|
|
|
|
'src/**/*.js': ['browserify'],
|
|
|
|
},
|
|
|
|
|
|
|
|
browserify: {
|
|
|
|
debug: true,
|
2019-01-23 17:54:42 +00:00
|
|
|
transform: ['babelify', 'brfs'],
|
2016-11-21 22:17:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
reporters: ['progress'],
|
|
|
|
port: 9876,
|
|
|
|
colors: true,
|
|
|
|
logLevel: config.LOG_INFO,
|
|
|
|
autoWatch: false,
|
2019-01-23 17:54:42 +00:00
|
|
|
browsers: ['Chrome'],
|
2016-11-21 22:17:06 +00:00
|
|
|
singleRun: true,
|
|
|
|
concurrency: Infinity,
|
|
|
|
});
|
|
|
|
};
|