test(ui): add comprehensive tests for quota utility functions

Address PR review feedback - add tests for:
- getMinCodexQuota() / getCodexResetTime()
- getMinGeminiQuota() / getGeminiResetTime()
- getProviderMinQuota() / getProviderResetTime()
- Type guards (isAgyQuotaResult, isCodexQuotaResult, isGeminiQuotaResult)

Covers: empty arrays, null/undefined, edge cases (0%/100%/negative),
provider dispatch logic, and type discrimination.
This commit is contained in:
kaitranntt
2026-01-29 22:44:09 -05:00
parent eeb0dde8ca
commit 0b8635d3ba
File diff suppressed because it is too large Load Diff