#!/usr/bin/env node /** * smoke.mjs — boot the built site in a real browser and assert it actually works. * * WHY THIS EXISTS * Every other gate checks artefacts: that files exist, parse, and carry the right * paths. All of them passed while the app was incapable of drawing a single map, * because the shell had no way to obtain a Mapbox token on any host but this one. * Nothing that inspects files can catch that. It only shows up when a browser runs * the page. * * WHAT IT ASSERTS * on the SHELL (/): * 1. it renders (has a