powerful-daybreak-53704
08/16/2023, 7:48 PMconditional
as follows:
first_result = conditional("test").if_(workflow_parameter == some_string).then(task_a(input[input)).else().then_(workflow_parameter)
final_result = task_b(input=first_result)
I’m using task_mock
to mock the return of task_a
. in my debugger, I can see that both `task_a`’s return value and workflow_parameter
are of type Promise. first_result
, however, appears to be of type VoidPromise
, and the test is failing with Failed to Bind variable input for function task_b
is there something I need to do to mock a conditional
?