- jsdom + @testing/react als dev-Dependencies - vitest.config.mjs: environmentMatchGlobs fuer *.webapp.* und sync-queue Tests - tests/webapp/notes-api-client.test.ts: 9 Tests - loadNote: 404 -> null, 200 -> parsed, 500 -> throws - URL-Encoding: Leerzeichen in noteId - saveNote: PUT mit Content-Type, Body korrekt - triggerSync: 200 -> ok, 500 -> throws - listNotes: parst Notes-Liste, Fehlerfall Verifiziert: - 88/88 Tests gruen (9 neue fuer notes-api Client) - Tool + Webapp Builds OK