MCPcopy Create free account
hub / github.com/simstudioai/sim / appendRows

Function appendRows

apps/sim/app/api/table/[tableId]/import/route.test.ts:147–149  ·  view source on GitHub ↗

Rows array the route passed to importAppendRows (3rd positional arg).

()

Source from the content-addressed store, hash-verified

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

Callers 1

route.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected