spawn/packages
A afff57db5b
test: remove conditional-expect anti-patterns from 3 test files (#2525)
Replace `if (!r.ok) { expect(...) }` and `if (result.ok) { return }` guards
with unconditional assertions using toThrow() or toMatchObject(). These
conditional blocks silently skipped assertions when the condition evaluated
the wrong way, providing false confidence. Also remove now-unused tryCatch
imports from prompt-file-security.test.ts and security.test.ts.

Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 02:21:20 -07:00
..
cli test: remove conditional-expect anti-patterns from 3 test files (#2525) 2026-03-12 02:21:20 -07:00
shared fix: navigate back to list after delete/remove errors (#2488) 2026-03-11 00:04:51 -07:00