spawn/packages
A a3ddb40f72
test: Remove remaining always-pass patterns in icon-integrity tests (#2208)
Two "is actual PNG data" tests (agent and cloud) silently passed without
asserting anything when the PNG file was missing. The `if (!existsSync)
{ return; }` guard let the test return early with no expectations, so a
missing file would register as a green test instead of a failure.

Fix: replace the early-return guard with an unconditional
`expect(existsSync(pngPath)).toBe(true)` so missing files fail the test
immediately. The "is actual PNG data" test is now self-contained and
does not rely on its sibling "exists" test having already failed.

Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 03:50:02 -05:00
..
cli test: Remove remaining always-pass patterns in icon-integrity tests (#2208) 2026-03-05 03:50:02 -05:00
shared refactor: extract inline hook commands to TypeScript scripts (#2174) 2026-03-03 23:05:41 -08:00