From 0d2a93f386676376240affa77a63f23c9b345362 Mon Sep 17 00:00:00 2001 From: mytharcher Date: Tue, 15 Feb 2022 00:15:08 +0800 Subject: [PATCH] FIX(plugin-workflow): fix query option in test case --- packages/plugin-workflow/src/__tests__/execution.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-workflow/src/__tests__/execution.test.ts b/packages/plugin-workflow/src/__tests__/execution.test.ts index 00ca0d710..c17cc47f7 100644 --- a/packages/plugin-workflow/src/__tests__/execution.test.ts +++ b/packages/plugin-workflow/src/__tests__/execution.test.ts @@ -394,7 +394,7 @@ describe('execution', () => { const [execution] = await workflow.getExecutions(); expect(execution.status).toEqual(EXECUTION_STATUS.STARTED); - const [pending] = await execution.getJobs({ nodeId: n2.id }); + const [pending] = await execution.getJobs({ where: { nodeId: n2.id } }); pending.set('result', 123); await execution.resume(pending);