mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-15 19:52:50 +03:00
The raw-403 test for the agentrouter connection-scope combo-skip branch only asserted Set contents, which markAuthLevelExhaustion produces identically for a 403 with a connectionId — deleting the new branch would have left it green. Add a local log spy and assert the emitted message is the new branch's (#10334 / "account quota exhausted"), not markAuthLevelExhaustion's (#8133 / "auth failure"). Also fixes a pre-existing tsc error in the same file: getProviderConnectionById returns rateLimitedUntil as unknown, which new Date() can't accept directly.