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

Function makeParam

packages/agentflow/src/atoms/NodeInputHandler.test.tsx:65–73  ·  view source on GitHub ↗
(overrides: Partial<InputParam>)

Source from the content-addressed store, hash-verified

63}
64
65const makeParam = (overrides: Partial<InputParam>): InputParam => ({
66 id: 'p1',
67 name: 'myField',
68 label: 'My Field',
69 type: 'string',
70 optional: false,
71 additionalParams: true,
72 ...overrides
73})
74
75beforeEach(() => {
76 jest.clearAllMocks()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected