MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / makeParam

Function makeParam

packages/agentflow/src/core/utils/fieldVisibility.test.ts:11–17  ·  view source on GitHub ↗
(overrides: Partial<InputParam> = {})

Source from the content-addressed store, hash-verified

9} from './fieldVisibility'
10
11const makeParam = (overrides: Partial<InputParam> = {}): InputParam => ({
12 id: 'p1',
13 name: 'field1',
14 label: 'Field 1',
15 type: 'string',
16 ...overrides
17})
18
19describe('conditionMatches', () => {
20 it('returns true for array-array intersection', () => {

Callers 2

buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected