Webshop: im Abo-Modell Anfrage ohne Unternehmer-Haken, Privat-Hinweis, Einschalten
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1cabab2826
commit
28da4180bd
7 files changed
+147
-22
No files matched your search
@@ -28,7 +28,7 @@ test('app.js: VIEW_HASHES, viewRefreshers, FEATURE_LABELS und APP_PARENT kennen
|
||||
|
||||
test('shop.js und shop.css: die Hülle exportiert initShop, die Styles hängen an #view-webshop und sh-', () => {
|
||||
const js = lies('public/shop.js')
|
||||
assert.match(js, /export function initShop\(root, \{ projectId \} = \{\}\)/)
|
||||
assert.match(js, /export function initShop\(root, \{ projectId, einschalten \} = \{\}\)/)
|
||||
assert.doesNotMatch(js.replace(/\/\*[\s\S]*?\*\//g, ''), /innerHTML|insertAdjacentHTML|outerHTML|document\.write/, 'Text nie als HTML')
|
||||
const css = lies('public/shop.css')
|
||||
assert.match(css, /#view-webshop/)
|
||||
|
||||
Reference in new issue
Block a user