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

Function callGet

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

Source from the content-addressed store, hash-verified

44}
45
46async function callGet() {
47 const request = createMockRequest('GET')
48 const response = await GET(request, buildParams())
49 return { status: response.status, body: await response.json() }
50}
51
52describe('GET /api/workspaces/[id]/owner-billing', () => {
53 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