bpmn-js/test/spec/features/modeling/BendpointsSpec.js
Nico Rehwaldt e00197d67a chore(tests): migrate to (.not).exist matcher
Migrate parts of our test suite that rely on legacy
`.to.be.(un)defined` matchers to Chai's `.to(.not).exist`.

Closes #423
Closes #422
2015-12-03 13:08:56 +01:00

26 lines
670 B
JavaScript

'use strict';
var TestHelper = require('../../../TestHelper');
/* global bootstrapModeler, inject */
var modelingModule = require('../../../../lib/features/modeling'),
bendpointsModule = require('diagram-js/lib/features/bendpoints'),
coreModule = require('../../../../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;
}));
});