MCPcopy Create free account
hub / github.com/EvoMap/evolver / mkRes

Function mkRes

test/validatorDaemon.test.js:22–29  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

20}
21
22function mkRes(body) {
23 return {
24 ok: true,
25 status: 200,
26 json: async () => body,
27 text: async () => JSON.stringify(body),
28 };
29}
30
31describe('validator daemon', function () {
32 const originalEnv = { ...process.env };

Callers 2

fetchImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected