mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-12 06:00:25 +00:00
Remove 7 redundant tests that test the same code paths as existing tests: - history.test.ts: consolidate 4 separate "unrecognized JSON value" tests (non-array object, JSON string, null, number) into one data-driven test. All 4 hit the identical parseHistoryData "Unrecognized format" branch. - cmd-link-cov.test.ts: remove "exits with error when no IP provided" — duplicate of the same test in cmd-link.test.ts with identical behavior. - update-check-cov.test.ts: remove "skips in test environment" and "skips when SPAWN_NO_UPDATE_CHECK=1" — both already covered in update-check.test.ts. - orchestrate-cov.test.ts: remove "calls preLaunch when defined" — identical to the same test in orchestrate.test.ts (same mock setup, same assertion). All 1866 remaining tests pass. Lint clean. Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||