(ms)
| 305 | const { PANELS } = await import(pathToFileURL(join(root, 'public', 'panels.js')).href); |
| 306 | const { shortDay } = await import(pathToFileURL(join(root, 'public', 'theme.js')).href); |
| 307 | const utcDay = (ms) => new Date(ms).toISOString().slice(0, 10); |
| 308 | const today = utcDay(Date.now()); |
| 309 | check(`all ${PANELS.length} panels are on the page`, view.panels.length === PANELS.length, `got ${view.panels.length}`); |
| 310 | // The fixture lives in July, so a range ending today has nothing in it: every |