bpmn-js/test/integration/SimpleModelingSpec.js

34 lines
561 B
JavaScript

'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);
});
});
});