(overrides = {})
| 60 | const cutoff = new Date('2026-06-05T00:00:00Z') |
| 61 | |
| 62 | function basePayload(overrides = {}) { |
| 63 | return { |
| 64 | jobId: 'job_1', |
| 65 | tableId: 'tbl_1', |
| 66 | workspaceId: 'ws_1', |
| 67 | filter: { status: 'old' }, |
| 68 | data: { flag: true }, |
| 69 | cutoff, |
| 70 | ...overrides, |
| 71 | } |
| 72 | } |
| 73 | const row = (id: string) => ({ id, data: {} }) |
| 74 | |
| 75 | describe('runTableUpdate', () => { |