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

Function captureWarnLogger

test/lifecycleLastUpdateAck.test.js:427–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425// ---------------------------------------------------------------------------
426
427function captureWarnLogger() {
428 const warns = [];
429 return {
430 warns,
431 logger: {
432 info: () => {},
433 log: () => {},
434 warn: (msg) => warns.push(String(msg)),
435 error: () => {},
436 debug: () => {},
437 },
438 };
439}
440
441test('lifecycle ack: ok=true clears the state file', async () => {
442 const originalFetch = global.fetch;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected