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

25 lines
394 B
JavaScript
Raw Normal View History

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