Function
buildPayload
(overrides: Partial<TableImportPayload> = {})
Source from the content-addressed store, hash-verified
| 71 | } |
| 72 | |
| 73 | function buildPayload(overrides: Partial<TableImportPayload> = {}): TableImportPayload { |
| 74 | return { |
| 75 | importId: 'job_1', |
| 76 | tableId: 'tbl_1', |
| 77 | workspaceId: 'ws_1', |
| 78 | userId: 'user_1', |
| 79 | fileKey: 'workspace/ws_1/people.csv', |
| 80 | fileName: 'people.csv', |
| 81 | delimiter: ',', |
| 82 | mode: 'append', |
| 83 | ...overrides, |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | describe('runTableImport source-file cleanup', () => { |
| 88 | beforeEach(() => { |
Tested by
no test coverage detected