(csv: string)
| 99 | } |
| 100 | |
| 101 | function uploadParts(csv: string): Part[] { |
| 102 | return [ |
| 103 | { name: 'workspaceId', value: 'workspace-1' }, |
| 104 | { name: 'file', filename: 'data.csv', value: csv }, |
| 105 | ] |
| 106 | } |
| 107 | |
| 108 | describe('POST /api/table/import-csv', () => { |
| 109 | beforeEach(() => { |