mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
ac9ff8affd
[first.status, second.status].sort() defaults to lexicographic ordering — it returned [200, 429] correctly only by accident and would mis-order [200, 1000]. Pass an explicit (a,b)=>a-b comparator so the assertion holds for any future status-code pair.