chore: Fix flaky test for scheduled workflows (#8216)

This commit is contained in:
Stevche Radevski
2024-07-22 12:53:59 +02:00
committed by GitHub
parent a2d08eb635
commit bb2cbe963a

View File

@@ -83,6 +83,10 @@ describe("Workflow Orchestrator module", function () {
workflowOrcModule = modules.workflows as unknown as IWorkflowEngineService
})
afterAll(async () => {
await WorkflowManager.unregisterAll()
})
it(`should export the appropriate linkable configuration`, () => {
const linkable = Module(Modules.WORKFLOW_ENGINE, {
service: WorkflowsModuleService,