chore(orchestration): improve transaction errors (#12951)

This commit is contained in:
Carlos R. L. Rodrigues
2025-07-14 11:37:54 -03:00
committed by GitHub
parent 919c53e44e
commit e74044af4d
4 changed files with 171 additions and 11 deletions

View File

@@ -550,7 +550,14 @@ moduleIntegrationTestRunner<IWorkflowEngineService>({
return e
})
expect(setStepError).toEqual({ uhuuuu: "yeaah!" })
expect(setStepError).toEqual(
expect.objectContaining({
message: JSON.stringify({
uhuuuu: "yeaah!",
}),
stack: expect.any(String),
})
)
;({ data: executionsList } = await query.graph({
entity: "workflow_executions",
fields: ["id", "state", "context"],