()
| 111 | } |
| 112 | |
| 113 | const createSnapshot = () => ({ |
| 114 | metadata: { |
| 115 | requestId: 'req-1', |
| 116 | workflowId: 'workflow-1', |
| 117 | userId: 'user-1', |
| 118 | workflowUserId: 'workflow-owner', |
| 119 | workspaceId: 'workspace-1', |
| 120 | triggerType: 'api', |
| 121 | executionId: 'execution-1', |
| 122 | triggerBlockId: undefined, |
| 123 | useDraftState: true, |
| 124 | isClientSession: false, |
| 125 | enforceCredentialAccess: false, |
| 126 | startTime: new Date().toISOString(), |
| 127 | }, |
| 128 | workflow: { |
| 129 | id: 'workflow-1', |
| 130 | userId: 'workflow-owner', |
| 131 | variables: {}, |
| 132 | }, |
| 133 | input: { hello: 'world' }, |
| 134 | workflowVariables: {}, |
| 135 | selectedOutputs: [], |
| 136 | state: undefined, |
| 137 | }) |
| 138 | |
| 139 | beforeEach(() => { |
| 140 | vi.clearAllMocks() |
no outgoing calls
no test coverage detected