MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / request

Function request

__tests__/ui-server-api.test.ts:71–73  ·  view source on GitHub ↗

The same, against the main fixture's server.

(requestPath: string, method = 'GET')

Source from the content-addressed store, hash-verified

69
70/** The same, against the main fixture's server. */
71function request(requestPath: string, method = 'GET'): Promise<Response> {
72 return requestOn(server.port, requestPath, method);
73}
74
75/**
76 * Payloads are read as `any` on purpose: these tests assert the JSON contract

Callers 3

getJsonFunction · 0.70
getStatusAndJsonFunction · 0.70

Calls 1

requestOnFunction · 0.85

Tested by

no test coverage detected