From 385844192d7c321bc05705782d892e07364dfc9f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 16 Oct 2026 16:43:58 +0000 Subject: [PATCH] =?UTF-8?q?Kundenansicht=20neu=20P1:=20Vollst=C3=A4ndigkei?= =?UTF-8?q?tstest=20der=20Datei=C3=BCbersicht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- test/knHuelleQuelltext.test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/knHuelleQuelltext.test.js b/test/knHuelleQuelltext.test.js index 706cf8d..893f2d5 100644 --- a/test/knHuelleQuelltext.test.js +++ b/test/knHuelleQuelltext.test.js @@ -14,3 +14,9 @@ test('P1-Module: kein innerHTML, nur relative Importe, keine Verweise auf entfer for (const m of q.matchAll(/from '([^']+)'/g)) assert.match(m[1], /^\.\//, `${f}: nur relative Importe`) } }) + +test('Dateiübersicht P1 ist vollständig vorhanden', () => { + const soll = [...P1, 'tokens.css', 'basis.css', 'huelle.css', 'dashboard.html', 'manifest.webmanifest', 'ansichten.css', 'funktionen.css', 'module.css', + ...['website', 'funktionen', 'chat', 'vertraege', 'passwort', 'gutschrift', 'wechsel', 'bestellen'].map((n) => `ansicht-${n}.js`)] + for (const f of soll) assert.ok(existsSync(pfad(f)), f) +})