Skip to content

Commit

Permalink
test(element-templates): add commands module
Browse files Browse the repository at this point in the history
Otherwise conditional tests don't run.
  • Loading branch information
nikku committed Sep 30, 2022
1 parent ede39b6 commit fbad271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {

import coreModule from 'bpmn-js/lib/core';
import elementTemplatesModule from 'src/provider/cloud-element-templates';
import propertiesCommandsModule from 'src/cmd';
import modelingModule from 'bpmn-js/lib/features/modeling';

import zeebeModdlePackage from 'zeebe-bpmn-moddle/resources/zeebe';
Expand Down Expand Up @@ -43,6 +44,7 @@ describe('provider/cloud-element-templates - ElementTemplates', function() {
coreModule,
elementTemplatesModule,
modelingModule,
propertiesCommandsModule,
{
propertiesPanel: [ 'value', { registerProvider() {} } ]
}
Expand Down
2 changes: 2 additions & 0 deletions test/spec/provider/element-templates/ElementTemplates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { bootstrapModeler, inject } from 'test/TestHelper';

import coreModule from 'bpmn-js/lib/core';
import elementTemplatesModule from 'src/provider/element-templates';
import propertiesCommandsModule from 'src/cmd';
import modelingModule from 'bpmn-js/lib/features/modeling';

import camundaModdlePackage from 'camunda-bpmn-moddle/resources/camunda';
Expand All @@ -32,6 +33,7 @@ describe('provider/element-templates - ElementTemplates', function() {
coreModule,
elementTemplatesModule,
modelingModule,
propertiesCommandsModule,
{
propertiesPanel: [ 'value', { registerProvider() {} } ]
}
Expand Down

0 comments on commit fbad271

Please sign in to comment.