2018-04-02 21:01:53 +02:00
|
|
|
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';
|
2015-01-14 18:48:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
describe('features/bendpoints', function() {
|
|
|
|
|
2015-03-31 14:17:15 +02:00
|
|
|
var diagramXML = require('../../../fixtures/bpmn/features/drop/drop.bpmn');
|
2015-01-14 18:48:06 +01:00
|
|
|
|
|
|
|
var testModules = [ coreModule, bendpointsModule, modelingModule ];
|
|
|
|
|
|
|
|
beforeEach(bootstrapModeler(diagramXML, { modules: testModules }));
|
|
|
|
|
|
|
|
|
|
|
|
it('should contain bendpoints', inject(function(bendpoints) {
|
2015-12-01 08:27:45 +01:00
|
|
|
expect(bendpoints).to.exist;
|
2015-01-14 18:48:06 +01:00
|
|
|
}));
|
|
|
|
|
|
|
|
});
|