mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 08:18:04 +00:00
feat(cliproxy): add entitlement evidence for gemini and agy
This commit is contained in:
1 parent
70051c2acb
commit
bb331ff5d8
14 files changed
+371
-34
No files matched your search
@@ -75,4 +75,12 @@ describe('cliproxy quota subcommand failure formatting', () => {
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
it('prefers live quota tier over stale account tier', async () => {
|
||||
const { resolveDisplayedTier } = await loadQuotaCommandTestExports();
|
||||
|
||||
expect(resolveDisplayedTier('unknown', 'pro')).toBe('pro');
|
||||
expect(resolveDisplayedTier('pro', 'ultra')).toBe('ultra');
|
||||
expect(resolveDisplayedTier('pro', 'unknown')).toBe('pro');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user