mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
test(session): add isCronEnabled mock to test config
Adds missing isCronEnabled mock function to the test configuration to support the cron feature implementation. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
1af0ef9a7c
commit
dbc86e7672
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ describe('Session', () => {
|
|||
getTargetDir: vi.fn().mockReturnValue(process.cwd()),
|
||||
getDebugMode: vi.fn().mockReturnValue(false),
|
||||
getAuthType: vi.fn().mockImplementation(() => currentAuthType),
|
||||
isCronEnabled: vi.fn().mockReturnValue(false),
|
||||
} as unknown as Config;
|
||||
|
||||
mockClient = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue