// Test für BUG-03: Span-Geometrie im Initial-Render. // // Erwartung nach Fix: // 1) renderGrid setzt grid-column/grid-row am Item direkt (per JS). // 2) Item wird in den Container gehängt (cont.appendChild), nicht in originCell. // 3) Origin-Cell bekommt nur die "occupied"-Klasse. // 4) 2x2-Item hat style.gridColumn === ' / span 2' und gridRow === ' / span 2'. const fs = require('fs'); const html = fs.readFileSync('templates/index.html', 'utf8'); const js = html.match(/