Kundenansicht neu P1: Vollständigkeitstest der Dateiübersicht

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-10-16 16:43:58 +00:00
1 parent 5297a05125
commit 385844192d
1 file changed
+6
+6
View File
@@ -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`) 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)
})