spawn/packages/cli/src
A d2f11bbf06
test: remove duplicate and theatrical tests (#2901)
cmd-pick-cov.test.ts: remove 8 theatrical flag-parsing tests that all hit
the same early-exit code path (no stdin options → exit 1). Each test
passed a different flag combination but all verified only that exit(1) was
thrown — no flag-specific behavior was actually exercised. Keep the one
meaningful test: "exits with error when no options provided".

ssh-cov.test.ts: consolidate 5 single-assertion constant-check tests into
2 tests (one per constant). All 5 previously tested string membership in
SSH_BASE_OPTS / SSH_INTERACTIVE_OPTS in separate it() blocks.

Before: 1868 tests, 4454 expect() calls
After:  1857 tests, 4446 expect() calls (-11 tests, -8 expects)

Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 16:28:30 +07:00
..
__tests__ test: remove duplicate and theatrical tests (#2901) 2026-03-23 16:28:30 +07:00
aws fix(security): shellQuote cmd in runServer() across all cloud providers (#2862) 2026-03-21 14:48:37 -07:00
commands fix(ux): add spawn link to help output and --fast to KNOWN_FLAGS (#2828) 2026-03-20 08:49:26 -07:00
digitalocean fix(digitalocean): detect droplet limit before creation, clear error on 422 (#2891) 2026-03-22 18:49:17 -07:00
gcp feat(gcp): default boot disk to 40 GB, configurable via GCP_DISK_SIZE (#2867) 2026-03-22 11:21:05 +07:00
hetzner refactor: remove stale Packer comment in hetzner.ts (#2878) 2026-03-23 04:14:00 +07:00
local fix: standardize ESM import extensions across 35 production files (#2827) 2026-03-20 08:51:40 -07:00
shared fix(ux): deduplicate install messages, add newlines to SSH polling, clarify completion messages (#2900) 2026-03-23 15:26:34 +07:00
sprite fix(security): validate cmd parameter in sprite interactiveSession (#2888) 2026-03-22 18:53:28 -07:00
flags.ts fix(ux): add spawn link to help output and --fast to KNOWN_FLAGS (#2828) 2026-03-20 08:49:26 -07:00
guidance-data.ts refactor: remove dead exports only used within their own files (#2431) 2026-03-10 08:51:15 -04:00
history.ts fix: remove 100-entry history cap — keep all records (#2819) 2026-03-20 06:32:08 -07:00
index.ts fix: add --beta docker to help output and update description (#2857) 2026-03-21 06:20:35 -07:00
manifest.ts fix(cli): use tryCatch instead of tryCatchIf for JSON.parse callsites (#2770) 2026-03-18 12:54:41 -07:00
picker.ts refactor: remove dead exported types from picker.ts and spawn-config.ts (#2553) 2026-03-12 21:43:05 -04:00
security.ts fix(security): resolve symlinks in prompt file validation to prevent bypass (#2744) 2026-03-17 22:21:11 -07:00
unicode-detect.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
update-check.ts fix: standardize ESM import extensions across 35 production files (#2827) 2026-03-20 08:51:40 -07:00