test(workflow-engine-redist): Update tests to ensure behaviour validation properly (#12514)
This commit is contained in:
committed by
GitHub
parent
aaf5407d29
commit
399dddc0c7
+7
-1
@@ -29,6 +29,12 @@ createWorkflow(
|
||||
}
|
||||
)
|
||||
|
||||
const step_1_async = createStep(
|
||||
"step_1_async",
|
||||
jest.fn(async (input) => {}),
|
||||
jest.fn()
|
||||
)
|
||||
|
||||
createWorkflow(
|
||||
{
|
||||
name: "workflow_transaction_timeout_async",
|
||||
@@ -37,7 +43,7 @@ createWorkflow(
|
||||
retentionTime: 5,
|
||||
},
|
||||
function (input) {
|
||||
const resp = step_1(input).config({
|
||||
const resp = step_1_async(input).config({
|
||||
async: true,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user