(overrides: Partial<ExecutionContext> = {})
| 57 | } |
| 58 | |
| 59 | function buildContext(overrides: Partial<ExecutionContext> = {}): ExecutionContext { |
| 60 | return { |
| 61 | userId: 'user-1', |
| 62 | workflowId: 'wf-1', |
| 63 | workspaceId: 'workspace-1', |
| 64 | userPermission: 'write', |
| 65 | ...overrides, |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | describe('maybeWriteOutputToTable', () => { |
| 70 | beforeEach(() => { |