Tests
Run the suite from the repository root with
node --test, no path and no glob after it.
node --test
Node finds every test file in the tree, so nothing needs changing when a test moves. Nothing has to be installed first: cases that need a browser skip with the install command as their reason.
The two checks the workflow runs first
node tools/build-manifest.mjs --check
node api/napkin-sketch/VENDOR-CHECK.mjs
Both run before the site publishes, so a stale manifest or an edited byte
under api/napkin-sketch/ fails the deploy rather than shipping.
Part of the cheatsheets documentation. The repository is on GitHub, and the example page it documents is here.