mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-10 09:05:58 +00:00
e6885eaebc
This _could_ fix the various bundle building issues we are seeing on travis-ci and locally. Closes #234
36 lines
680 B
JavaScript
36 lines
680 B
JavaScript
'use strict';
|
|
|
|
module.exports = function(karma) {
|
|
karma.set({
|
|
|
|
basePath: '../../',
|
|
|
|
frameworks: [ 'browserify', 'jasmine' ],
|
|
|
|
files: [
|
|
'test/spec/**/*Spec.js',
|
|
'test/integration/**/*Spec.js'
|
|
],
|
|
|
|
reporters: [ 'dots' ],
|
|
|
|
preprocessors: {
|
|
'test/spec/**/*Spec.js': [ 'browserify' ],
|
|
'test/integration/**/*Spec.js': [ 'browserify' ]
|
|
},
|
|
|
|
browsers: [ 'PhantomJS' ],
|
|
|
|
browserNoActivityTimeout: 30000,
|
|
|
|
singleRun: false,
|
|
autoWatch: true,
|
|
|
|
// browserify configuration
|
|
browserify: {
|
|
debug: true,
|
|
transform: [ [ 'stringify', { global: true, extensions: [ '.bpmn', '.xml', '.css' ] } ] ]
|
|
}
|
|
});
|
|
};
|