// Test the page's update() logic: clock, phase, angle mapping, countdown wiring. const fs = require('node:fs'); const assert = require('node:assert/strict'); const solar = require('../src/common/solar.js'); const ux = fs.readFileSync('src/pages/index/index.ux', 'utf8'); const script = ux.match(/