fix(quota): keep Kimi free-account errors inline
This commit is contained in:
1 parent
a3f5d2e54e
commit
19a7f88a29
3 files changed
+9
-2
No files matched your search
@@ -60,4 +60,10 @@ describe('quota card rendering', () => {
|
||||
expect(html).toContain('Reset time reached; refresh to verify');
|
||||
expect(html).toContain('0% remaining');
|
||||
});
|
||||
|
||||
it('Kimi 免费账号取不到额度时只显示卡片内失败状态', () => {
|
||||
const html = render({ status: 'error', rows: [], error: 'free account cannot access quota' }, 'kimi');
|
||||
expect(html).toContain('quota-card-error');
|
||||
expect(html).not.toContain('app-notice-entry');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user