MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / makeChatflow

Function makeChatflow

packages/server/src/services/chatflows/index.test.ts:162–169  ·  view source on GitHub ↗
(overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

160const makePlainFlowData = () => JSON.stringify({ nodes: [], edges: [] })
161
162const 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
171const SAVE_ARGS = {
172 orgId: 'org-1',

Callers 1

index.test.tsFile · 0.70

Calls 1

makeScheduleFlowDataFunction · 0.70

Tested by

no test coverage detected