fix(usage): expose pending reasoning and exact reset expiry

This commit is contained in:
MMEXA
2026-07-13 22:03:44 +08:00
parent 2fc604e047
commit b09d1f1c33
5 changed files with 58 additions and 13 deletions
@@ -288,6 +288,15 @@ describe('UsageRecordsTable', () => {
expect(root.textContent).toContain('xhigh')
})
it('shows request reasoning effort while the record is pending', () => {
const root = mountUsageRecordsTable([buildRecord({
status: 'pending',
reasoning_effort: 'max',
})])
expect(root.textContent).toContain('max')
})
it('shows fast badge for priority service tier', () => {
const root = mountUsageRecordsTable([buildRecord({ service_tier: 'priority' })])