mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 04:11:23 +00:00
* test(utils): add unit tests for formatTokenCount * fix(test): use Number.NaN/Number.POSITIVE_INFINITY per oxlint unicorn/prefer-number-properties * test(utils): fold formatTokenCount boundary tests into existing usage-format test Move edge case coverage (invalid inputs, zero/negative, exact boundaries, thousands overflow) into src/utils/usage-format.test.ts instead of a separate colocated test file per reviewer feedback.