Skip to content

Commit

Permalink
test: verify incompatible templates are ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Dec 9, 2024
1 parent 07b580e commit f37ae0e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/spec/cloud-element-templates/ElementTemplates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,21 @@ describe('provider/cloud-element-templates - ElementTemplates', function() {
}));


it('should ignore incompatible', inject(function(elementTemplates) {

// given
elementTemplates.setEngines({
camunda: '8.4'
});

// when
const templates = elementTemplates.getLatest('example.engines.test.multiple');

// then
expect(templates).to.be.empty;
}));


it('should handle broken <engines> provided at run-time', inject(function(elementTemplates) {

// given
Expand Down

0 comments on commit f37ae0e

Please sign in to comment.