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

Function silentLogger

test/lifecycleStaleNodeSecret.test.js:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62function silentLogger() {
63 const calls = { log: [], warn: [], error: [] };
64 return {
65 log: (...args) => calls.log.push(args.join(' ')),
66 warn: (...args) => calls.warn.push(args.join(' ')),
67 error: (...args) => calls.error.push(args.join(' ')),
68 _calls: calls,
69 };
70}
71
72function mockFetch(responseFactory) {
73 const calls = [];

Calls

no outgoing calls

Tested by

no test coverage detected