fix patch test feat/phase-2g-bundle
AI Agent git-import/068377df · 112 days ago · Apr 5, 2026 · Diff

fix(test): remove ordering assumption in auto-capture search test

The test stored two events and asserted events[0] was the newest query, relying on sort stability for same-millisecond timestamps. On Node.js 20 this was non-deterministic (both events land at the same ms, so sort returns 0 and insertion order is preserved — oldest first). Fix: assert both queries are present in the result set instead of checking index 0.

sha256:3dd54a15fb592c658e22561b9b3c42892e54694cc0c347a27c2326b703ee6289 sha
sha256:e2762c4ddf2de354048df6c503bcfffeb2304eee80d8326cfeb9dd3935af6620 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:3dd54a15fb592c658e22561b9b3c42892e54694cc0c347a27c2326b703ee6289 --body "your comment"