()
| 95 | const t1 = T0 + UPDATE_CHECK_TTL_MS + 1; |
| 96 | let calls = 0; |
| 97 | const failing = async (): Promise<string> => { calls++; throw new Error('offline'); }; |
| 98 | |
| 99 | // The outage must not hide the already-known update. |
| 100 | const notice = await refreshUpdateCheck(deps({ resolveLatest: failing, now: () => t1 })); |
nothing calls this directly
no outgoing calls
no test coverage detected