mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-10 09:05:58 +00:00
0ba239bbce
Use eslint instead of jshint for linting. * better linting results * test files linted, too * consistent code style checks Closes #568
26 lines
653 B
JavaScript
26 lines
653 B
JavaScript
'use strict';
|
|
|
|
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;
|
|
}));
|
|
|
|
}); |