mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-09 08:41:59 +00:00
bb94b206a7
This allows users to use the viewer / modeler features without inheriting our modules. Related to #258
19 lines
330 B
JavaScript
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;
|
|
});
|
|
|
|
});
|