Rows array the route passed to importAppendRows (3rd positional arg).
()
| 145 | |
| 146 | /** Rows array the route passed to importAppendRows (3rd positional arg). */ |
| 147 | function appendRows(): unknown[] { |
| 148 | return mockImportAppendRows.mock.calls[0][2] as unknown[] |
| 149 | } |
| 150 | |
| 151 | async function callPost(form: FormData, { tableId }: { tableId: string } = { tableId: 'tbl_1' }) { |
| 152 | // Building the request from a FormData body gives a real multipart stream and |