From 212bd0c1ac1dce1e137cc19f8cfa86166897c92a Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 30 Jun 2022 14:05:57 -0400 Subject: [PATCH] a little more test cleanup. --- test/spec/BpmnInputOutputSpec.js | 10 ++-------- test/spec/DataObjectPropsSpec.js | 1 - ...ptsInPropertiesPanelSpec.js => ScriptsPropsSpec.js} | 1 - 3 files changed, 2 insertions(+), 10 deletions(-) rename test/spec/{ScriptsInPropertiesPanelSpec.js => ScriptsPropsSpec.js} (98%) diff --git a/test/spec/BpmnInputOutputSpec.js b/test/spec/BpmnInputOutputSpec.js index 248da46..66f14c4 100644 --- a/test/spec/BpmnInputOutputSpec.js +++ b/test/spec/BpmnInputOutputSpec.js @@ -2,11 +2,9 @@ import { query as domQuery, queryAll as domQueryAll } from 'min-dom'; -import {bootstrapPropertiesPanel, CONTAINER} from './helpers'; +import { bootstrapPropertiesPanel, CONTAINER } from './helpers'; import inputOutput from '../../app/spiffworkflow/InputOutput'; -import SpiffWorkflowPropertiesProvider from '../../app/spiffworkflow/PropertiesPanel'; import { BpmnPropertiesPanelModule, BpmnPropertiesProviderModule } from 'bpmn-js-properties-panel'; -import spiffModdleExtension from '../../app/spiffworkflow/moddle/spiffworkflow.json'; describe('BPMN Input / Output', function() { @@ -16,13 +14,9 @@ describe('BPMN Input / Output', function() { debounceInput: false, additionalModules: [ inputOutput, - SpiffWorkflowPropertiesProvider, BpmnPropertiesPanelModule, BpmnPropertiesProviderModule, - ], - moddleExtensions: { - spiffworkflow: spiffModdleExtension - }, + ] })); it('should have a data input and data output in the properties panel', function() { diff --git a/test/spec/DataObjectPropsSpec.js b/test/spec/DataObjectPropsSpec.js index a56a011..fcda422 100644 --- a/test/spec/DataObjectPropsSpec.js +++ b/test/spec/DataObjectPropsSpec.js @@ -16,7 +16,6 @@ describe('Properties Panel Script Tasks', function() { beforeEach(bootstrapPropertiesPanel(xml, { debounceInput: false, additionalModules: [ - inputOutput, SpiffWorkflowPropertiesProvider, BpmnPropertiesPanelModule, BpmnPropertiesProviderModule, diff --git a/test/spec/ScriptsInPropertiesPanelSpec.js b/test/spec/ScriptsPropsSpec.js similarity index 98% rename from test/spec/ScriptsInPropertiesPanelSpec.js rename to test/spec/ScriptsPropsSpec.js index 9cc0996..d37e892 100644 --- a/test/spec/ScriptsInPropertiesPanelSpec.js +++ b/test/spec/ScriptsPropsSpec.js @@ -15,7 +15,6 @@ describe('Properties Panel Script Tasks', function() { beforeEach(bootstrapPropertiesPanel(xml, { debounceInput: false, additionalModules: [ - inputOutput, SpiffWorkflowPropertiesProvider, BpmnPropertiesPanelModule, BpmnPropertiesProviderModule,