mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-12 18:14:40 +00:00
bb94b206a7
This allows users to use the viewer / modeler features without inheriting our modules. Related to #258
21 lines
431 B
JavaScript
21 lines
431 B
JavaScript
import BaseModeler from 'lib/BaseModeler';
|
|
import BaseViewer from 'lib/BaseViewer';
|
|
|
|
|
|
describe('BaseModeler', function() {
|
|
|
|
it('should instantiate', function() {
|
|
|
|
// when
|
|
var instance = new BaseModeler();
|
|
|
|
// then
|
|
expect(instance.importXML).to.exist;
|
|
expect(instance.saveXML).to.exist;
|
|
|
|
expect(instance instanceof BaseModeler).to.be.true;
|
|
expect(instance instanceof BaseViewer).to.be.true;
|
|
});
|
|
|
|
});
|