From aa49d6aefd01389739517083dc50685bf2470daf Mon Sep 17 00:00:00 2001 From: CahidArda Date: Thu, 7 Nov 2024 12:14:55 +0300 Subject: [PATCH] fix: delete workflow after finishing test --- src/workflow-requests.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/workflow-requests.test.ts b/src/workflow-requests.test.ts index c5cae27..7e88f6a 100644 --- a/src/workflow-requests.test.ts +++ b/src/workflow-requests.test.ts @@ -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 }); }); }); });