bpmn-js/test/spec/BaseViewerSpec.js
Nico Rehwaldt bb94b206a7 feat(project): provide Base{Viewer|Modeler} distributions
This allows users to use the viewer / modeler features without
inheriting our modules.

Related to #258
2019-12-11 13:28:35 +01:00

19 lines
330 B
JavaScript

import BaseViewer from 'lib/BaseViewer';
describe('BaseViewer', function() {
it('should instantiate', function() {
// when
var instance = new BaseViewer();
// then
expect(instance.importXML).to.exist;
expect(instance.saveXML).to.exist;
expect(instance instanceof BaseViewer).to.be.true;
});
});