bpmn-js/test/distro/bpmn-viewer.js

22 lines
378 B
JavaScript

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);
});
});