MCPcopy
hub / github.com/FlowiseAI/Flowise / makeRecord

Function makeRecord

packages/server/src/queue/ScheduleQueue.test.ts:67–76  ·  view source on GitHub ↗
(overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

65}
66
67const makeRecord = (overrides: Record<string, unknown> = {}) => ({
68 id: 'rec-1',
69 targetId: 'flow-1',
70 cronExpression: '* * * * *',
71 timezone: 'UTC',
72 defaultInput: 'hello',
73 workspaceId: 'ws-1',
74 enabled: true,
75 ...overrides
76})
77
78beforeEach(() => {
79 jest.clearAllMocks()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected