bpmn-js/test/spec/features/modeling/BendpointsSpec.js

24 lines
597 B
JavaScript
Raw Normal View History

import {
bootstrapModeler,
inject
} from 'test/TestHelper';
import modelingModule from 'lib/features/modeling';
import bendpointsModule from 'diagram-js/lib/features/bendpoints';
import coreModule from 'lib/core';
describe('features/bendpoints', function() {
var diagramXML = require('../../../fixtures/bpmn/features/drop/drop.bpmn');
var testModules = [ coreModule, bendpointsModule, modelingModule ];
beforeEach(bootstrapModeler(diagramXML, { modules: testModules }));
it('should contain bendpoints', inject(function(bendpoints) {
expect(bendpoints).to.exist;
}));
});