singularity-forge/packages
Iouri Goussev e0011a897a test: replace shape-only assertions with value checks (#1875)
Several test files used assert.ok(Array.isArray(x)) or assert.ok(result)
patterns that verify structure/existence without checking actual values.
These pass even when the code returns wrong data.

- web-diagnostics-contract: Array.isArray() checks → deepEqual([], [])
  for fields constructed as empty; DoctorFixResult uses deepEqual(["fix1"])
  instead of Array.isArray + length; InstanceType<typeof GSDWorkspaceStore>
  for type assertions from dynamic import
- skill-lifecycle: computeStaleAvoidList → deepEqual(result, []) since
  nonexistent path must return empty
- blob-store: remove redundant assert.ok(retrieved) before deepEqual
- discovery-cache: assert.ok(entry) existence check → verify models[0].id

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 15:25:10 -06:00
..
native feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
pi-agent-core fix: preserve user messages during abort with origin-aware queue clearing (#1439) (#1521) 2026-03-19 18:05:04 -06:00
pi-ai feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
pi-coding-agent test: replace shape-only assertions with value checks (#1875) 2026-03-21 15:25:10 -06:00
pi-tui fix(tui): prevent freeze when using @ file finder (#1832) 2026-03-21 12:55:12 -06:00