test(snapping): fix BpmnSnappingUtil tests
This commit is contained in:
parent
4ea70a05de
commit
2c3767a0e7
|
@ -114,7 +114,7 @@ describe('features/snapping - BpmnSnappingUtil', function() {
|
||||||
aboveLaneShape = elementRegistry.get('Nested_Lane_A');
|
aboveLaneShape = elementRegistry.get('Nested_Lane_A');
|
||||||
|
|
||||||
// when
|
// when
|
||||||
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 'n');
|
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 'n', true);
|
||||||
|
|
||||||
// then
|
// then
|
||||||
expect(sizeConstraints).to.eql({
|
expect(sizeConstraints).to.eql({
|
||||||
|
@ -136,7 +136,7 @@ describe('features/snapping - BpmnSnappingUtil', function() {
|
||||||
otherLaneShape = elementRegistry.get('Lane_B');
|
otherLaneShape = elementRegistry.get('Lane_B');
|
||||||
|
|
||||||
// when
|
// when
|
||||||
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 's');
|
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 's', true);
|
||||||
|
|
||||||
// then
|
// then
|
||||||
expect(sizeConstraints).to.eql({
|
expect(sizeConstraints).to.eql({
|
||||||
|
|
Loading…
Reference in New Issue