MCPcopy
hub / github.com/qawolf/cli / json

Function json

src/shell/platform/createPlatformClient.test.ts:15–19  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

13const noSleep = async (): Promise<void> => {};
14
15function json(body: unknown): Response {
16 return new Response(JSON.stringify(body), {
17 headers: { "content-type": "application/json" },
18 });
19}
20
21function trpcWrapped(value: unknown) {
22 return { result: { data: superjson.serialize(value) } };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected