Testing & Development

Pure HTML, CSS, and JavaScript on the front end, plus a single stdlib-only Node server. No framework, no bundler, no package manager. Edit any file and refresh.

Running the tests

node --test

Runs the test suite with Node's built-in test runner — no dependencies needed (Node 18+). Covers:

Run node --test --experimental-test-coverage for a coverage report (covers server.js; the sandboxed frontend tests aren't included in coverage instrumentation).

No build step

There's genuinely nothing to build. All JS files share the global browser scope and are loaded as plain <script> tags in index.html — no modules, no imports, no exports, no transpilation. Load order matters; state.js comes first and app.js last. Edit any file, refresh the page, done.