mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-10 17:16:02 +00:00
9be61259bd
We use ES modules, so 'use strict' is not necessary anymore.
87 lines
1.4 KiB
JavaScript
87 lines
1.4 KiB
JavaScript
import {
|
|
isTypedEvent,
|
|
isThrowEvent,
|
|
isCollection,
|
|
getDi,
|
|
getSemantic,
|
|
getCirclePath,
|
|
getRoundRectPath,
|
|
getDiamondPath,
|
|
getRectPath,
|
|
getFillColor,
|
|
getStrokeColor
|
|
} from 'lib/draw/BpmnRenderUtil';
|
|
|
|
|
|
describe('BpmnRenderUtil', function() {
|
|
|
|
it('should expose isTypedEvent', function() {
|
|
|
|
expect(isTypedEvent).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose isThrowEvent', function() {
|
|
|
|
expect(isThrowEvent).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose isCollection', function() {
|
|
|
|
expect(isCollection).to.be.a('function');
|
|
|
|
});
|
|
|
|
|
|
it('should expose getDi', function() {
|
|
|
|
expect(getDi).to.be.a('function');
|
|
|
|
});
|
|
|
|
|
|
it('should expose getSemantic', function() {
|
|
|
|
expect(getSemantic).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose getCirclePath', function() {
|
|
|
|
expect(getCirclePath).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose getRoundRectPath', function() {
|
|
|
|
expect(getRoundRectPath).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose getDiamondPath', function() {
|
|
|
|
expect(getDiamondPath).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose getRectPath', function() {
|
|
|
|
expect(getRectPath).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose getFillColor', function() {
|
|
|
|
expect(getFillColor).to.be.a('function');
|
|
|
|
});
|
|
|
|
it('should expose getStrokeColor', function() {
|
|
|
|
expect(getStrokeColor).to.be.a('function');
|
|
|
|
});
|
|
|
|
});
|