Function
makeRecord
(overrides: Record<string, unknown> = {})
Source from the content-addressed store, hash-verified
| 75 | // ─── Helpers ────────────────────────────────────────────────────────────────── |
| 76 | |
| 77 | const 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. */ |
| 88 | function resetSingleton(mode?: string) { |
Tested by
no test coverage detected