mirror of
https://github.com/penpot/penpot.git
synced 2026-05-23 17:03:41 +00:00
Introduces `pnpm run test:quiet` for non-interactive runs (CI, scripted invocations, agent loops). It runs the same pipeline as `pnpm run test` — `build:wasm`, then `build:test`, then `node target/tests/test.js` — but buffers each build step's stdout and stderr and only replays them when that step exits non-zero. Test-runner output streams through unchanged, so failures and the summary are never hidden. Short progress hints (`Building wasm...`, `Building test bundle...`, `Running tests...`) are written to stderr, leaving stdout to carry only the test results for clean capture and parsing. Forwards arguments verbatim, so `pnpm run test:quiet -- --focus ...` composes with the existing `--focus` flag. The default `pnpm run test` script and its output are unchanged. Also documents the new command in the developer guide and updates the frontend testing memory to recommend it for agent runs.