Analyse: Oberfläche in eigenes Modul analyse.js, gemeinsame Helfer in fn-util.js

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-04 21:34:43 +00:00
1 parent 97bff91a99
commit 9d1691cf6b
9 files changed
+426 -409

No files matched your search

+4 -1
View File
@@ -54,8 +54,11 @@ test('Portal: Analyse-Ansicht ist verdrahtet', () => {
assert.match(app, /APP_PARENT = \{ news: 'funktionen', analyse: 'funktionen'/)
assert.match(html, /id="view-analyse"/)
assert.match(html, /id="analyse-body"/)
assert.match(app, /analyse: \(\) => import\('\/analyse\.js'\)/)
const an = readFileSync(new URL('../public/analyse.js', import.meta.url), 'utf8')
assert.doesNotMatch(an, /\bconfirm\(/)
const fn = readFileSync(new URL('../public/funktionen.js', import.meta.url), 'utf8')
assert.doesNotMatch(fn.slice(fn.indexOf('Analyse ---')), /\bconfirm\(/)
assert.doesNotMatch(fn, /function renderAnalyseStats|function renderAnalyseHeat/)
})
test('Portal-Vorschau: Banner-Text ist der des Clients', () => {