Merge pull request #191 from nocobase/fix/plugin-workflow-test
Fix: plugin-workflow test
This commit is contained in:
commit
0d0acba357
@ -394,7 +394,7 @@ describe('execution', () => {
|
|||||||
const [execution] = await workflow.getExecutions();
|
const [execution] = await workflow.getExecutions();
|
||||||
expect(execution.status).toEqual(EXECUTION_STATUS.STARTED);
|
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);
|
pending.set('result', 123);
|
||||||
await execution.resume(pending);
|
await execution.resume(pending);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user