bpmn-js/test/config/karma.unit.js

30 lines
481 B
JavaScript

module.exports = function(karma) {
karma.set({
basePath: '../../',
frameworks: [ 'browserify', 'jasmine' ],
files: [
'test/spec/browser/**/*Spec.js'
],
reporters: [ 'dots' ],
preprocessors: {
'test/spec/browser/**/*Spec.js': [ 'browserify' ]
},
browsers: [ 'PhantomJS' ],
singleRun: false,
autoWatch: true,
// browserify configuration
browserify: {
debug: true,
transform: [ 'brfs' ]
}
});
};