FIX(plugin-workflow): fix query option in test case

This commit is contained in:
mytharcher 2022-02-15 00:15:08 +08:00
parent 6fa6756356
commit 0d2a93f386

View File

@ -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);