mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
fix: add getContentGeneratorConfig mock to Footer.test.tsx
This commit is contained in:
parent
ef769c49bf
commit
af269e6474
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ const createMockConfig = (overrides = {}) => ({
|
|||
getModel: vi.fn(() => defaultProps.model),
|
||||
getTargetDir: vi.fn(() => defaultProps.targetDir),
|
||||
getDebugMode: vi.fn(() => false),
|
||||
getContentGeneratorConfig: vi.fn(() => ({})),
|
||||
...overrides,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue