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

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

No files matched your search

@@ -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"],