// Runs the AI modules page code (the part of web/static/index.html between the markers) against fake data: // node tests/modules/ui_modules_test.js const fs = require('fs'); const html = fs.readFileSync(__dirname + '/../../web/static/index.html', 'utf8'); const src = [...html.matchAll(/