34 lines
575 B
JavaScript
34 lines
575 B
JavaScript
module.exports = function(karma) {
|
|
karma.set({
|
|
|
|
basePath: '../../',
|
|
|
|
frameworks: [ 'jasmine', 'browserify' ],
|
|
|
|
files: [
|
|
'test/spec/browser/**/*Spec.js'
|
|
],
|
|
|
|
reporters: [ 'dots' ],
|
|
|
|
preprocessors: {
|
|
'test/spec/browser/**/*Spec.js': [ 'browserify' ]
|
|
},
|
|
|
|
browsers: [ 'Chrome' ],
|
|
|
|
// fixing slow browserify build
|
|
browserNoActivityTimeout: 30000,
|
|
|
|
singleRun: false,
|
|
autoWatch: true,
|
|
|
|
// browserify configuration
|
|
browserify: {
|
|
debug: true,
|
|
watch: true,
|
|
transform: [ 'brfs' ]
|
|
}
|
|
});
|
|
};
|