MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / guard

Function guard

packages/hosts/mcp/src/envelope.test.ts:228–229  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

226 });
227
228const guard = (request: Request): Promise<Response | null> =>
229 Effect.runPromise(preInitializeMethodNotFound(request));
230
231describe("preInitializeMethodNotFound", () => {
232 it("answers an unknown pre-init method with -32601 on a 200, echoing the id", async () => {

Callers 1

envelope.test.tsFile · 0.85

Calls 1

Tested by

no test coverage detected