+- **Test (browser):** `npm run test:browser` — drives headless Chromium via `tape-six-puppeteer`; auto-starts `tape6-server` on port `55555` (env-overridable, avoids the default `3000` collision). Browser-safe test set is selected by `tape6.tests` (`tests/core/` + `tests/web/`); `tape6.cli` (`tests/node/`) is skipped in browser context. Nothing downloads at install time: `.npmrc` sets `ignore-scripts=true`, which blocks the `tape-six-puppeteer` / `puppeteer` postinstalls on every npm version, and `.puppeteerrc.cjs` sets `skipDownload`. Do not swap it for `package.json`'s `allowScripts` — that field needs npm 11.16+, so it is silently ignored by the npm 10.9 that Node 22 bundles, and the CI matrix still tests Node 22. The browser resolves from puppeteer's cache (one-time `npm run browser:install`) or `PUPPETEER_EXECUTABLE_PATH`.
0 commit comments