(overrides: Record<string, unknown> = {})
| 65 | } |
| 66 | |
| 67 | const 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 | |
| 78 | beforeEach(() => { |
| 79 | jest.clearAllMocks() |