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

Function makeGet

apps/sim/app/api/tools/deployments/routes.test.ts:66–73  ·  view source on GitHub ↗
(path: string, query: string)

Source from the content-addressed store, hash-verified

64}
65
66function makeGet(path: string, query: string) {
67 return createMockRequest(
68 'GET',
69 undefined,
70 {},
71 `http://localhost:3000/api/tools/deployments/${path}?${query}`
72 )
73}
74
75beforeEach(() => {
76 vi.clearAllMocks()

Callers 1

routes.test.tsFile · 0.85

Calls 1

createMockRequestFunction · 0.90

Tested by

no test coverage detected