mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-04 21:23:27 +00:00
5b2b053230
Add a test that ensures the distribution works. Related to #725
25 lines
394 B
JavaScript
25 lines
394 B
JavaScript
'use strict';
|
|
|
|
|
|
describe('bpmn-navigated-viewer', function() {
|
|
|
|
it('should expose globals', function() {
|
|
|
|
var BpmnJS = window.BpmnJS;
|
|
|
|
// then
|
|
expect(BpmnJS).to.exist;
|
|
expect(new BpmnJS()).to.exist;
|
|
});
|
|
|
|
|
|
it('should import initial diagram', function(done) {
|
|
|
|
var BpmnJS = window.BpmnJS;
|
|
|
|
// then
|
|
/* global testImport */
|
|
testImport(BpmnJS, done);
|
|
});
|
|
|
|
}); |