mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-09 17:19:02 +00:00
chore(core): remove stale refreshStartupContextReminder mocks from tool-search tests (#6423)
Two inline mock clients still stubbed refreshStartupContextReminder after it was removed from tool-search.ts. makeConfigWithRegistry() was cleaned up in the original PR but these two were missed. Co-authored-by: Aleks-0 <aleks-0@users.noreply.github.com>
This commit is contained in:
parent
3b20a12436
commit
4d5015389d
1 changed files with 0 additions and 2 deletions
|
|
@ -601,7 +601,6 @@ describe('ToolSearchTool', () => {
|
|||
const setToolsSpy = vi.fn().mockResolvedValue(undefined);
|
||||
vi.spyOn(config, 'getGeminiClient').mockReturnValue({
|
||||
setTools: setToolsSpy,
|
||||
refreshStartupContextReminder: vi.fn().mockResolvedValue(undefined),
|
||||
} as never);
|
||||
|
||||
const tool = new ToolSearchTool(config);
|
||||
|
|
@ -646,7 +645,6 @@ describe('ToolSearchTool', () => {
|
|||
const setToolsSpy = vi.fn().mockResolvedValue(undefined);
|
||||
vi.spyOn(config, 'getGeminiClient').mockReturnValue({
|
||||
setTools: setToolsSpy,
|
||||
refreshStartupContextReminder: vi.fn().mockResolvedValue(undefined),
|
||||
} as never);
|
||||
|
||||
const tool = new ToolSearchTool(config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue