mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
test(cli): add cron config mocks to test fixtures
- Add isCronDisabled mock returning true - Add getCronScheduler mock returning null This aligns test mocks with the new cron scheduler config interface. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
aa4939111c
commit
c4ae7bf0cd
2 changed files with 4 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ describe('runNonInteractive', () => {
|
|||
}),
|
||||
getExperimentalZedIntegration: vi.fn().mockReturnValue(false),
|
||||
isInteractive: vi.fn().mockReturnValue(false),
|
||||
isCronDisabled: vi.fn().mockReturnValue(true),
|
||||
getCronScheduler: vi.fn().mockReturnValue(null),
|
||||
} as unknown as Config;
|
||||
|
||||
mockSettings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue