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

Function makeQuietLogger

test/syncEngineLoopResilience.test.js:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38// Quiet logger so the deliberate error paths don't spam test output but the
39// asserts on what got logged remain straightforward.
40function makeQuietLogger() {
41 return {
42 _errors: [],
43 _logs: [],
44 log: (...a) => { /* noop */ },
45 error: function (...a) { this._errors.push(a.join(' ')); },
46 warn: () => {},
47 };
48}
49
50// Minimal store stub — implementations may throw on demand to exercise the
51// resilience paths. countPending defaults to a value > 0 so the loop picks

Calls

no outgoing calls

Tested by

no test coverage detected