Fix TaskWorker tests

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-06-08 09:57:35 +02:00
parent fff062301c
commit eca511cb37
@@ -189,7 +189,7 @@ describe('TaskWorker', () => {
id: 'conditional',
name: 'conditional',
action: 'test-action',
if: '"{{ steps.test.output.testOutput }}"',
if: '{{ steps.test.output.testOutput }}',
},
],
output: {
@@ -226,8 +226,7 @@ describe('TaskWorker', () => {
},
],
output: {
result:
'{{#if steps.conditional}}{{ steps.conditional.output.testOutput }}{{/if}}',
result: '{{ steps.conditional.output.testOutput }}',
},
values: {},
});