Skip to content

Commit

Permalink
fix: delete workflow after finishing test
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda committed Nov 7, 2024
1 parent 6a9a79d commit aa49d6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/workflow-requests.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,9 @@ describe("Workflow Requests", () => {
originalMessage:
'{"error":"a workflow already exists, can not initialize a new one with same id"}',
});

const deleteResult = await triggerWorkflowDelete(context, debug);
expect(deleteResult).toEqual({ deleted: true });
});
});
});

0 comments on commit aa49d6a

Please sign in to comment.