mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 01:11:18 +00:00
The `if (parsed.success)` and `if (id in SOURCES)` guards inside test bodies were redundant — an `expect(...).toBe(true)` assertion always precedes them, so the inner expects would only be skipped if the test was already failing. Replace with early-return guards that make the control flow explicit and remove the nested indirection. Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||