chore: Fix flaky test for scheduled workflows (#8216)
This commit is contained in:
1 parent
a2d08eb635
commit
bb2cbe963a
1 file changed
+4
@@ -83,6 +83,10 @@ describe("Workflow Orchestrator module", function () {
|
|||||||
workflowOrcModule = modules.workflows as unknown as IWorkflowEngineService
|
workflowOrcModule = modules.workflows as unknown as IWorkflowEngineService
|
||||||
})
|
})
|
||||||
|
|
||||||
|
afterAll(async () => {
|
||||||
|
await WorkflowManager.unregisterAll()
|
||||||
|
})
|
||||||
|
|
||||||
it(`should export the appropriate linkable configuration`, () => {
|
it(`should export the appropriate linkable configuration`, () => {
|
||||||
const linkable = Module(Modules.WORKFLOW_ENGINE, {
|
const linkable = Module(Modules.WORKFLOW_ENGINE, {
|
||||||
service: WorkflowsModuleService,
|
service: WorkflowsModuleService,
|
||||||
|
|||||||
Reference in new issue
Block a user