From ecf9118a09606596f1d0ca9632c8a7071f78d3de Mon Sep 17 00:00:00 2001 From: Maciej Barelkowski Date: Thu, 23 May 2019 08:38:54 +0200 Subject: [PATCH] style(bpmn-replace): lint tests --- test/spec/features/replace/BpmnReplaceSpec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/spec/features/replace/BpmnReplaceSpec.js b/test/spec/features/replace/BpmnReplaceSpec.js index dc371e03..2decaf7b 100644 --- a/test/spec/features/replace/BpmnReplaceSpec.js +++ b/test/spec/features/replace/BpmnReplaceSpec.js @@ -1376,8 +1376,9 @@ describe('features/replace - bpmn replace', function() { it('should properly set parent of event definitions', inject( - function(elementRegistry, modeling, bpmnReplace) { + function(elementRegistry, bpmnReplace) { + // given var startEvent = elementRegistry.get('StartEvent_1'); var messageEvent = bpmnReplace.replaceElement(startEvent, { @@ -1394,8 +1395,9 @@ describe('features/replace - bpmn replace', function() { it('should add condition with ConditionalEventDefinition', inject( - function(elementRegistry, modeling, bpmnReplace) { + function(elementRegistry, bpmnReplace) { + // given var startEvent = elementRegistry.get('StartEvent_1'); // when