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

30 lines
481 B
JavaScript
Raw Normal View History

2014-03-11 14:54:36 +00:00
module.exports = function(karma) {
karma.set({
basePath: '../../',
frameworks: [ 'browserify', 'jasmine' ],
2014-03-11 14:54:36 +00:00
files: [
'test/spec/browser/**/*Spec.js'
],
2014-03-11 14:54:36 +00:00
reporters: [ 'dots' ],
preprocessors: {
'test/spec/browser/**/*Spec.js': [ 'browserify' ]
},
browsers: [ 'PhantomJS' ],
2014-03-11 14:54:36 +00:00
singleRun: false,
autoWatch: true,
// browserify configuration
browserify: {
debug: true,
2014-03-14 16:52:30 +00:00
transform: [ 'brfs' ]
2014-03-11 14:54:36 +00:00
}
});
};