mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-14 00:09:01 +00:00
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> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| aws | ||
| commands | ||
| digitalocean | ||
| gcp | ||
| hetzner | ||
| local | ||
| shared | ||
| sprite | ||
| flags.ts | ||
| guidance-data.ts | ||
| history.ts | ||
| index.ts | ||
| manifest.ts | ||
| picker.ts | ||
| security.ts | ||
| unicode-detect.ts | ||
| update-check.ts | ||