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

Function callGet

apps/sim/app/api/table/[tableId]/export/route.test.ts:52–57  ·  view source on GitHub ↗
(format: string)

Source from the content-addressed store, hash-verified

50}
51
52function callGet(format: string) {
53 const req = new NextRequest(`http://localhost:3000/api/table/tbl_1/export?format=${format}`, {
54 method: 'GET',
55 })
56 return GET(req, { params: Promise.resolve({ tableId: 'tbl_1' }) })
57}
58
59describe('table export route — id→name translation', () => {
60 beforeEach(() => {

Callers 1

route.test.tsFile · 0.70

Calls 2

GETFunction · 0.90
resolveMethod · 0.65

Tested by

no test coverage detected