Skip to content

Commit

Permalink
test: print xml in the single start mode only
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Dec 18, 2024
1 parent f151698 commit 93a903a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/DmnPropertiesPanelRenderer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('<DmnPropertiesPanelRenderer>', function() {

setDmnJS(modeler);

modeler.on('viewer.created', ({ viewer }) => {
singleStart && modeler.on('viewer.created', ({ viewer }) => {
viewer.on('commandStack.changed', function() {
modeler.saveXML({ format: true }).then(function(result) {
console.log(result.xml);
Expand Down

0 comments on commit 93a903a

Please sign in to comment.