bpmn-js/test/config/karma.unit.js
Nico Rehwaldt 008015b227 feat(Viewer): embed and show project logo
The project logo now properly embeds in the Viewer and links to bpmn.io.
This way, we are able to ship it as part of a bpmn-js bundle.

In addition to that change this commit upgrades to the latest diagram-js
release, too which adds support for Diagram#destroy().

Closes #15
2014-04-08 13:41:24 +02:00

34 lines
578 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: [ 'PhantomJS' ],
// fixing slow browserify build
browserNoActivityTimeout: 30000,
singleRun: false,
autoWatch: true,
// browserify configuration
browserify: {
debug: true,
watch: true,
transform: [ 'brfs' ]
}
});
};