spawn/packages
A 699df354a9
test: Remove duplicate and theatrical tests (#2233)
* test: Remove duplicate and theatrical tests

- Remove duplicate countImplemented empty-matrix test from
  manifest-cache-lifecycle.test.ts (already covered in manifest.test.ts)
- Remove duplicate agentKeys/cloudKeys empty-manifest test from
  manifest-cache-lifecycle.test.ts (already covered in manifest.test.ts)
- Consolidate gateway-resilience.test.ts from 9 identical startGateway()
  invocations into 3 grouped tests, reducing redundant async setup overhead
  while keeping the same assertion coverage (18 expects)
- Move stderrSpy.mockRestore() from each it() into afterEach() in
  gateway-resilience.test.ts

-- qa/dedup-scanner

* test: Remove dead guards after expect(parsed.success).toBe(true) in icon-integrity

Replace v.safeParse + success-check + dead-return guard pattern with v.parse,
which throws on invalid input and removes 20 redundant expect() calls and 5
unreachable return statements across agent and cloud icon tests.

-- qa/dedup-scanner

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
2026-03-06 00:03:07 -05:00
..
cli test: Remove duplicate and theatrical tests (#2233) 2026-03-06 00:03:07 -05:00
shared refactor: extract inline hook commands to TypeScript scripts (#2174) 2026-03-03 23:05:41 -08:00