mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
test: fix Footer and tokenLimits test failures
- Footer.test.tsx: provide contextWindowSize in mock config to match Footer component's new requirement for displaying context usage - tokenLimits.test.ts: consolidate Kimi K2 tests and update expectations to 256K for all variants to match the implementation
This commit is contained in:
parent
d67206819a
commit
a41e946dcc
2 changed files with 5 additions and 12 deletions
|
|
@ -23,7 +23,7 @@ const defaultProps = {
|
|||
const createMockConfig = (overrides = {}) => ({
|
||||
getModel: vi.fn(() => defaultProps.model),
|
||||
getDebugMode: vi.fn(() => false),
|
||||
getContentGeneratorConfig: vi.fn(() => ({})),
|
||||
getContentGeneratorConfig: vi.fn(() => ({ contextWindowSize: 131072 })),
|
||||
getMcpServers: vi.fn(() => ({})),
|
||||
getBlockedMcpServers: vi.fn(() => []),
|
||||
...overrides,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue