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

Function makeRecord

packages/server/src/schedule/ScheduleBeat.test.ts:77–85  ·  view source on GitHub ↗
(overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

75// ─── Helpers ──────────────────────────────────────────────────────────────────
76
77const makeRecord = (overrides: Record<string, unknown> = {}) => ({
78 id: 'rec-1',
79 cronExpression: '* * * * *',
80 timezone: 'UTC',
81 enabled: true,
82 targetId: 'flow-1',
83 workspaceId: 'ws-1',
84 ...overrides
85})
86
87/** Reset singleton and optionally set a MODE env var. */
88function resetSingleton(mode?: string) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected