bpmn-js/test/distro/bpmn-modeler.js
Nico Rehwaldt 9be61259bd chore(project): drop 'use strict'
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00

35 lines
660 B
JavaScript

describe('bpmn-modeler', function() {
it('should expose globals', function() {
var BpmnJS = window.BpmnJS;
// then
expect(BpmnJS).to.exist;
expect(new BpmnJS()).to.exist;
});
it('should expose Viewer and NavigatedViewer', function() {
var BpmnJS = window.BpmnJS;
// then
expect(BpmnJS.NavigatedViewer).to.exist;
expect(new BpmnJS.NavigatedViewer()).to.exist;
expect(BpmnJS.Viewer).to.exist;
expect(new BpmnJS.Viewer()).to.exist;
});
it('should import initial diagram', function(done) {
var BpmnJS = window.BpmnJS;
// then
/* global testImport */
testImport(BpmnJS, done);
});
});