MCPcopy Index your code
hub / github.com/simstudioai/sim / callGet

Function callGet

apps/sim/app/api/workspaces/[id]/environment/route.test.ts:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50async function callGet() {
51 const request = createMockRequest('GET')
52 const response = await GET(request, buildParams())
53 return { status: response.status, body: await response.json() }
54}
55
56describe('GET /api/workspaces/[id]/environment', () => {
57 beforeEach(() => {

Callers 1

route.test.tsFile · 0.70

Calls 3

createMockRequestFunction · 0.90
GETFunction · 0.90
buildParamsFunction · 0.70

Tested by

no test coverage detected