(overrides: Record<string, unknown> = {})
| 160 | const makePlainFlowData = () => JSON.stringify({ nodes: [], edges: [] }) |
| 161 | |
| 162 | const makeChatflow = (overrides: Record<string, unknown> = {}) => ({ |
| 163 | id: 'flow-1', |
| 164 | type: EnumChatflowType.AGENTFLOW, |
| 165 | flowData: makeScheduleFlowData(), |
| 166 | workspaceId: 'ws-1', |
| 167 | chatbotConfig: undefined, |
| 168 | ...overrides |
| 169 | }) |
| 170 | |
| 171 | const SAVE_ARGS = { |
| 172 | orgId: 'org-1', |
no test coverage detected