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

Function jsonResponse

apps/cloud/src/analytics/ema-rollout.test.ts:77–81  ·  view source on GitHub ↗
(body: unknown, status = 200)

Source from the content-addressed store, hash-verified

75};
76
77const jsonResponse = (body: unknown, status = 200): Response =>
78 new Response(JSON.stringify(body), {
79 status,
80 headers: { "content-type": "application/json" },
81 });
82
83const flagsBody = (enabled: boolean) => ({
84 flags: {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected