bpmn-js/test/spec/integration/SimpleModelingSpec.js

34 lines
564 B
JavaScript
Raw Normal View History

'use strict';
var Matchers = require('../Matchers'),
TestHelper = require('../TestHelper');
var fs = require('fs');
var Modeler = require('../../../lib/Modeler');
describe('scenario - simple modeling', function() {
var container;
beforeEach(function() {
container = jasmine.getEnv().getTestContainer();
});
it('should build process from start to end event', function(done) {
// given
var modeler = new Modeler({ container: container });
// when
modeler.createDiagram(function(err) {
done(err);
});
});
});