mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 02:26:04 +00:00
more test/snapshot updates
This commit is contained in:
parent
15441f4251
commit
58f2e217fe
|
@ -33,7 +33,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
name: "subCommand",
|
||||
description: ""
|
||||
}
|
||||
]
|
||||
],
|
||||
locations: [ "panel" ]
|
||||
},
|
||||
kind: "agent"
|
||||
},
|
||||
|
|
|
@ -9,7 +9,7 @@ import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/uti
|
|||
import { TestInstantiationService } from 'vs/platform/instantiation/test/common/instantiationServiceMock';
|
||||
import { ILogService, NullLogService } from 'vs/platform/log/common/log';
|
||||
import { IStorageService } from 'vs/platform/storage/common/storage';
|
||||
import { ChatAgentService, IChatAgentCommand, IChatAgentData, IChatAgentService } from 'vs/workbench/contrib/chat/common/chatAgents';
|
||||
import { ChatAgentLocation, ChatAgentService, IChatAgentCommand, IChatAgentData, IChatAgentService } from 'vs/workbench/contrib/chat/common/chatAgents';
|
||||
import { ChatRequestParser } from 'vs/workbench/contrib/chat/common/chatRequestParser';
|
||||
import { IChatService } from 'vs/workbench/contrib/chat/common/chatService';
|
||||
import { IChatSlashCommandService } from 'vs/workbench/contrib/chat/common/chatSlashCommands';
|
||||
|
@ -112,7 +112,7 @@ suite('ChatRequestParser', () => {
|
|||
});
|
||||
|
||||
const getAgentWithSlashCommands = (slashCommands: IChatAgentCommand[]) => {
|
||||
return <IChatAgentData>{ id: 'agent', metadata: { description: '' }, slashCommands };
|
||||
return <IChatAgentData>{ id: 'agent', metadata: { description: '' }, slashCommands, locations: [ChatAgentLocation.Panel] };
|
||||
};
|
||||
|
||||
test('agent with subcommand after text', async () => {
|
||||
|
|
Loading…
Reference in a new issue