()
| 38 | // Quiet logger so the deliberate error paths don't spam test output but the |
| 39 | // asserts on what got logged remain straightforward. |
| 40 | function 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 |
no outgoing calls
no test coverage detected