mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-13 02:24:31 +00:00
22 lines
378 B
JavaScript
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);
|
||
|
});
|
||
|
|
||
|
});
|