wordeck/apps
Till JS 9a735d0a2b
Some checks are pending
CI / validate (push) Waiting to run
fix(api): vi.fn() in lib-url-fetch.test typt zu typeof fetch
5 tsc-Errors „Property 'preconnect' is missing in type Mock". Bun's
`typeof fetch` deklariert eine `preconnect(url, options)`-Methode,
vitests `vi.fn()`-Mock hat die nicht. Cast über `unknown` umgeht den
strikten Type-Check, ohne den Mock künstlich aufzublähen.

- makeFetch() bekommt `typeof globalThis.fetch` als Return-Type
- direkter inline-vi.fn().mockRejectedValue() cast'd am Use-Site
- 6/6 Tests grün

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 15:07:14 +02:00
..
api fix(api): vi.fn() in lib-url-fetch.test typt zu typeof fetch 2026-05-20 15:07:14 +02:00
web fix(web): prerender /offline für Workbox-Precache 2026-05-20 14:11:58 +02:00